Allow resetting password for a pg role via mathesar #4119
Labels
affects: ux
Related to user experience
beta: needs discussion
Temporary label to mark issues that need discussion
needs: ux design
restricted: maintainers
Only maintainers can resolve this issue
work: backend
Related to Python, Django, and simple SQL
work: frontend
Related to frontend code in the mathesar_ui directory
Milestone
Description
To create a postgres login role via mathesar or psql, a role name and password are required. In mathesar, users must provide the password when configuring roles to be used for different database servers.
Currently mathesar doesn't validate the password when it is stored, which could result in an incorrect password being saved. Dropping the role entirely and creating a new one is not a viable solution either, as there may be database objects dependent on the role.
Additionally, if a user is connecting their preexisting db to mathesar and has forgotten the password for one of their roles, the only way to reset it is by running a command like
ALTER USER user_name WITH PASSWORD 'new_password';
through psql.Proposed Solution
There should be a way to reset the password for a login role via mathesar.
There are some implications of resetting the password that we'll need to think through:
The text was updated successfully, but these errors were encountered: