pgadmin-org / pgadmin-org/pgadmin4

why not change the pgadmin username for Administrator Role when the auth soure is "internal"

Open
#8,972 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Describe the bug
Administrator Role cloud not change the username of the authentication source is “internal”.

we see the document explation: User Management — pgAdmin 4 9.4 documentation

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'user managerment'
  2. Click on 'edit user & username'
  3. See the error : the username Grayed out, unable to edit

Expected behavior

Administrator Role can change the username of the authentication source is “internal”.

Error message

Our pgadmin user not configuration email authentication & authenticator App.
And pgadmin localhost not be connected.

Above are not the bug point, the point is as administrator login pgadmin successfully,
could not to change the username of the authentication source is “internal” from webfront.

Screenshots

N/A

Desktop (please complete the following information):

  • OS: [ Linux ]
  • Version: [ 9.4.0 ]
  • Mode: [e.g Desktop or Server]
  • Browser (if running in server mode): [e.g. chrome, safari]
  • Package type: [e.g. RPM, DEB, Python, Container, etc.]

Additional context

Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at User Management and the edit user & username flow, focusing on the internal authentication source. Compare the behavior with the linked User Management documentation, reproduce the greyed-out username field, and verify that an Administrator can change the username.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.