Fine-grained sharing of database connections

Abierto
#9,538 2 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 2 días

@schaerfo ya está trabajando en esto.

Desde el 16/1/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Python
Estrellas
3.9k
Forks
922
Merge medio
2 d 3 h
PR fusionados (30 d)
33

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pgadmin-org/pgadmin4

Todos los issues de pgadmin-org/pgadmin4

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.