mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 09:46:17 +00:00
Closes #98: Fix inherited permissions table
This commit is contained in:
@@ -7,7 +7,7 @@ angular.module('docs').controller('DocumentViewPermissions', function($scope) {
|
||||
// Watch for ACLs change and group them for easy displaying
|
||||
$scope.$watch('document.inherited_acls', function(acls) {
|
||||
$scope.inheritedAcls = _.groupBy(acls, function(acl) {
|
||||
return acl.source_id;
|
||||
return acl.source_id + acl.id;
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user