1
0
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:
jendib
2016-05-09 21:53:15 +02:00
parent b9cd113dc0
commit b1e58396d1
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
});
});
});