fix(acl(js)): toggle rights from the ACL editor

This commit is contained in:
Francis Lachapelle committed 2020-07-15 09:57:31 -04:00
1 parent 704e7885ce
commit 825fb85903
4 files changed
+15 -12

No files matched your search

@@ -24,7 +24,7 @@
vm.confirmChange = confirmChange;
vm.removeUser = removeUser;
vm.addUser = addUser;
vm.selectAllRights = selectAllRights;
vm.toggleAllRights = toggleAllRights;
vm.selectUser = selectUser;
vm.hasNoRight = hasNoRight;
vm.showRights = showRights;
@@ -87,8 +87,8 @@
}
}
function selectAllRights(user) {
folder.$acl.$selectAllRights(user);
function toggleAllRights(user) {
folder.$acl.$toggleAllRights(user);
}
function selectUser(user, $event) {