Skip to content

Commit b6fd1a1

Browse files
committed
12
1 parent 12393a8 commit b6fd1a1

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

OpenFlow/src/DatabaseConnection.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ export class DatabaseConnection {
105105
var ace = item.members[i];
106106
if (Config.update_acl_based_on_groups == true) {
107107
if (multi_tenant_skip.indexOf(item._id) > -1) {
108-
item.removeRight(ace._id, [Rights.read]);
108+
if (ace._id != WellknownIds.admins && ace._id != WellknownIds.root) {
109+
item.removeRight(ace._id, [Rights.read]);
110+
}
111+
109112
} else {
110113
item.addRight(ace._id, ace.name, [Rights.read]);
111114
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.413
1+
0.0.414

0 commit comments

Comments
 (0)