pgadmin-org / pgadmin-org/pgadmin4
No tag display as standard user for shared servers since 9.15
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 891
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 8
Description
Describe the bug
Since 9.15, standard users can not observe the connection tags defined from the pre-configured shared servers in servers.json. Tags are working as usual if connected as admin though.
To Reproduce
Steps to reproduce the behavior:
- Define a servers.json in /pgadmin4/ with tags and shared "true".
- Start pgadmin, connect as standard user, no tag shown.
- Connect as admin user, tags are shown.
Expected behavior
Tags should be displayed even for standard users.
Error message
No error found.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior using /pgadmin4/servers.json with tagged shared servers, comparing a standard-user session with an admin session. Trace the shared-server tag display path and verify that tags appear for standard users while preserving the existing admin behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100