Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Assign instance admin role for the first user in the instance #36699

Open
1 task done
abhvsn opened this issue Oct 4, 2024 · 0 comments
Open
1 task done

[Bug]: Assign instance admin role for the first user in the instance #36699

abhvsn opened this issue Oct 4, 2024 · 0 comments
Assignees
Labels
Bug Something isn't working Medium Issues that frustrate users due to poor UX Needs Triaging Needs attention from maintainers to triage Production

Comments

@abhvsn
Copy link
Contributor

abhvsn commented Oct 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description

In the normal flow when user starts the new instance and lands on homepage {base_url} she gets redirected to {base_url}/setup/welcome where we ask user to fillup the super user form and server treats this as a super user. But if user ends up on {base_url}/user/signup server does not check if this is the first non-system-generated user and ends up treating a normal user. This leads to the instance without any instance admin.

Steps To Reproduce

  1. Start the container
  2. Signup to the instance
  3. User will have the admin access
  4. Change the DB url from the admin setting or via env
  5. User will be logged out, try to sign in again
  6. User doesn't get the instance admin access

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

v1.43

@abhvsn abhvsn added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels Oct 4, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Medium Issues that frustrate users due to poor UX Production labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Medium Issues that frustrate users due to poor UX Needs Triaging Needs attention from maintainers to triage Production
Projects
None yet
Development

No branches or pull requests

3 participants