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

This commit is contained in:
Francis Lachapelle
2020-07-15 09:57:31 -04:00
parent 704e7885ce
commit 825fb85903
4 changed files with 15 additions and 12 deletions
@@ -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) {