Closed felixbuenemann closed 7 years ago
What is your use case for such feature?
I would like to give developers access to databases for certain projects. They should not be able to connect to any other databases from pgweb.
To add a little more detail: The database server is running in a virtual private network and I would like to deploy one pgweb container per app I would like to give database access to (with different basic auth credentials).
Cool. Sounds interesting, few other folks have reached out to me with the same request. I'll see what i can do.
+1
+1
Implemented in master
It would be great if there was a way to lock pgweb to a single database specified by the DATABASE_URL and disable the functionality to disconnect and connect to different databases.
There yould be a commandline switch like
--single-database
and an environment var like SINGLE_DATABASE=1.