Fine-grained sharing of database connections

Đang mở
#9,538 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@schaerfo đang làm issue này rồi.

Từ ngày 16/1/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
Python
Star
3.9k
Fork
922
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
33

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pgadmin-org/pgadmin4

Tất cả issue của pgadmin-org/pgadmin4

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.