mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
readonly support in portal connections
This commit is contained in:
parent
a9038984d8
commit
e181318e24
@ -55,6 +55,7 @@ function getPortalCollections() {
|
||||
(process.env[`FILE_${id}`] ? getDatabaseFileLabel(process.env[`FILE_${id}`]) : null),
|
||||
singleDatabase: !!process.env[`DATABASE_${id}`] || !!process.env[`FILE_${id}`],
|
||||
displayName: process.env[`LABEL_${id}`],
|
||||
isReadOnly: process.env[`READONLY_${id}`],
|
||||
|
||||
// SSH tunnel
|
||||
useSshTunnel: process.env[`USE_SSH_${id}`],
|
||||
|
Loading…
Reference in New Issue
Block a user