(js) Fix user removal from ACLs in Admin module

Fixes #3713
pull/217/head
Francis Lachapelle 2016-06-20 15:54:54 -04:00
parent 61381225d9
commit 6538f6d047
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@
acls.then(function() {
user.wasSubscribed = false;
user.userClass = user.isGroup ? 'normal-group' : 'normal-user';
user.$rights = angular.bind(user, user.$acl, _this.folderId);
user.$rights = angular.bind(user, user.$acl, _this.folderId, owner);
_this.users.push(user);
deferred.resolve(user);
}, function(data, status) {