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

Cannot reset the password for a login role through UI #4092

Open
Anish9901 opened this issue Dec 18, 2024 · 1 comment
Open

Cannot reset the password for a login role through UI #4092

Anish9901 opened this issue Dec 18, 2024 · 1 comment
Labels
beta: needs discussion Temporary label to mark issues that need discussion needs: requirements The problem is clear and worth solving, but we're not yet sure of the best solution restricted: maintainers Only maintainers can resolve this issue type: enhancement New feature or request

Comments

@Anish9901
Copy link
Member

Description

  • We don't perform any validation while configuring a new role on mathesar
  • So if we have created a login role 'bob' with password 'bobisgreat' it can be configured in mathesar with any random password e.g. 'bob_bob' because there is no validation
  • This can be a problem when an admin grants a bunch of privileges to 'bob' and assigns a mathesar user to connect using bob, only to find out that the mathesar user cannot access anything because the password is wrong.
  • The role cannot be dropped easily because other objects might depend on it
  • Also there is no way to reset the password for the role 'bob'.

Expected behavior

Here are a few approaches we might want to take:

  • Configure the new role automatically in mathesar once it is created
  • Provide a flow for resetting the password for a created role in mathesar
@Anish9901 Anish9901 added restricted: maintainers Only maintainers can resolve this issue needs: requirements The problem is clear and worth solving, but we're not yet sure of the best solution beta: needs discussion Temporary label to mark issues that need discussion labels Dec 18, 2024
@Anish9901 Anish9901 added this to the v0.2.0 (beta release) milestone Dec 18, 2024
@zackkrida zackkrida added the type: enhancement New feature or request label Dec 18, 2024
@mathemancer
Copy link
Contributor

I prefer the first option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta: needs discussion Temporary label to mark issues that need discussion needs: requirements The problem is clear and worth solving, but we're not yet sure of the best solution restricted: maintainers Only maintainers can resolve this issue type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants