Thread: pgadmin viewer only mode?

pgadmin viewer only mode?

From
André Pinto
Date:
Hi,

I would like to deploy pgadmin as a docker container with a preconfigured database connection and allow our users to use pgadmin with this database connection, but without the possibility of adding any other database connection. The use case is to only provide a web facade to an offline read-only replica.

I know that pgadmin has a docker image, but it seems that the rest of the functionality I am looking for is not possible, or am I missing something?

Thanks,
André

Re: pgadmin viewer only mode?

From
Aditya Toshniwal
Date:
Hi André,

You can share pre configured servers to other users using the "Shared" option in the server dialog, and set "DB restriction" to restrict listed databases. Refer - https://www.pgadmin.org/docs/pgadmin4/5.1/server_dialog.html.
Currently, there is no way to disallow users from adding new servers.

On Tue, Apr 13, 2021 at 2:02 PM André Pinto <andredasilvapinto@gmail.com> wrote:
Hi,

I would like to deploy pgadmin as a docker container with a preconfigured database connection and allow our users to use pgadmin with this database connection, but without the possibility of adding any other database connection. The use case is to only provide a web facade to an offline read-only replica.

I know that pgadmin has a docker image, but it seems that the rest of the functionality I am looking for is not possible, or am I missing something?

Thanks,
André


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"