mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 23:06:00 +00:00
readonly sessions on mongo (+checks on BE)
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
}
|
||||
|
||||
export function hasConnection() {
|
||||
return !!conid;
|
||||
return !!conid && (!$connection.isReadOnly || driver.readOnlySessions);
|
||||
}
|
||||
|
||||
async function executeCore(sql) {
|
||||
|
||||
Reference in New Issue
Block a user