Fine-grained sharing of database connections

オープン
#9,538 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@schaerfo がすでに取り組んでいます。

2026年1月16日 から。

評価

この issue はまだ評価されていません。

説明

Feature

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.

主要言語
Python
スター
3.9k
フォーク
922
平均マージ
2日 3時間
マージ済み PR(30日)
33

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pgadmin-org/pgadmin4 のほかの issue

pgadmin-org/pgadmin4 の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。