Improve ACLs handling of inactive users (cont'd)

This commit is contained in:
Francis Lachapelle committed 2017-01-27 12:22:22 -05:00
1 parent 872afaec32
commit ac127a375f
7 files changed
+57 -22

No files matched your search

@@ -84,12 +84,13 @@
else {
vm.selectedUid = user.uid;
vm.selectedUser = user;
vm.selectedUser.$rights();
if (!user.inactive)
vm.selectedUser.$rights();
}
}
function showRights(user) {
return vm.selectedUid == user.uid && user.rights;
return vm.selectedUid == user.uid && !user.inactive;
}
}