mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-30 06:15:42 +00:00
Fix ACLs management of folders in Administration
The active (super) user was not able to add herself to the ACLs of a different user because we were removing the active user from the users search instead of removing the folder's owner.
This commit is contained in:
1 parent
e997923c31
commit
0d95267fe5
4 files changed
+16
-7
No files matched your search
@@ -57,7 +57,7 @@
|
||||
}
|
||||
|
||||
function userFilter($query) {
|
||||
return User.$filter($query, stateFolder.$acl.users, { dry: true });
|
||||
return User.$filter($query, stateFolder.$acl.users, { dry: true, uid: vm.user.uid });
|
||||
}
|
||||
|
||||
function removeUser(user) {
|
||||
|
||||
Reference in new issue
Block a user