readonly support in portal connections

This commit is contained in:
Jan Prochazka 2022-03-17 13:52:32 +01:00
parent a9038984d8
commit e181318e24

View File

@ -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}`],