Fine-grained sharing of database connections
Maintainer antworten meist innerhalb von 2 Tagen
@schaerfo arbeitet bereits daran.
Seit 16.1.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Describe the solution you'd like
As of now, database connections can be shared with either none or all users. It would be useful to be able to share database connections only with selected users.
In my case, some maintenance tasks must be performed manually on the database. I would like to add database connections that use PostgreSQL roles with the required permissions and share them with the respective authorized pgadmin users. Then, the users can log into pgadmin using OAuth2 and access the database with their respective permissions without access to database credentials.
For compatibility with existing installations, it would probably be best to not re-purpose the notion of ‘roles’ and instead implement user groups to which users can be added. Then, database connections can be shared with selected groups.
Describe alternatives you've considered
Alternatively, users could log into pgadmin with PostgreSQL roles, bypassing the user management of pgadmin (this was suggested in #6939).
Additional context
Similar proposals have been put forward in the past, e.g. #5534
I would be willing to try and implement this if it gets approved.
- Vorherrschende Sprache
- Python
- Sterne
- 3.9k
- Forks
- 922
- Ø Merge
- 2 T. 3 Std.
- Gemergte PRs (30 T.)
- 33
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus pgadmin-org/pgadmin4
-
Invalid syntax in sshtunnelEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. OffenBug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
pgadmin-org/pgadmin4#10797 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
pgadmin-org/pgadmin4#10426 · 3 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
pgadmin-org/pgadmin4#10796 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schema Diff does not detect foreign keys that reference a different schemaEvtl. vergeben @dpage hat das heute übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 57/100
pgadmin-org/pgadmin4#10786 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
pgadmin-org/pgadmin4#10783 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in pgadmin-org/pgadmin4
Ähnliche Issues
-
author-page correction move-papers
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
acl-org/acl-anthology#10978 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
PostgreSQL results table stores labels with single quotes, and a double quote in a label fails the writeEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
GoogleCloudPlatform/professional-services-data-validator#1899 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
HKUDS/CLI-Anything#652 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Project-N-E-K-O/N.E.K.O#3813 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Dao-AILab/flash-attention#3191 ·
Maintainer antworten meist innerhalb von 4 Tagen