pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Permission to disable Change password dialog (for PostgreSQL)

Open ViliusS opened this issue 3 months ago • 1 comments

Describe the solution you'd like

Some pgAdmin users confuse current Change Password... dialog for PostgreSQL user. They think that they are changing password for their pgAdmin account.

Image

I know that they can still change PostgreSQL password though SQL, but it would be great to be able to disable this dialog so it is not confused with a password of pgAdmin account.

Describe alternatives you've considered

Alternatively, the dialog could be automatically disabled for all non-owner users if "Shared Username" is set on the server. It would be only available to server object owner. Just not sure if that would be not too confusing.

Additional context

The problem is more serious in environment where Server list is predefined, is setup to use pgpassfile, and is shared. Unknowingly any user could change PostgreSQL password through mentioned dialog, and all other users won't be able to login.

ViliusS avatar Oct 08 '25 23:10 ViliusS

We will change the label to Change Server Password. Also, the username is currently blank; we should show the username.

RohitBhati8269 avatar Oct 10 '25 11:10 RohitBhati8269