Closes #98: Fix inherited permissions table

This commit is contained in:
jendib 2016-05-09 21:53:15 +02:00
parent b9cd113dc0
commit b1e58396d1
No known key found for this signature in database
GPG Key ID: 06EE7F699579166F
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ public class ClientUtil {
* Creates a group. * Creates a group.
* *
* @param name Name * @param name Name
* @param parent Parent * @param parentId Parent ID
*/ */
public void createGroup(String name, String parentId) { public void createGroup(String name, String parentId) {
// Login admin to create the group // Login admin to create the group

View File

@ -7,7 +7,7 @@ angular.module('docs').controller('DocumentViewPermissions', function($scope) {
// Watch for ACLs change and group them for easy displaying // Watch for ACLs change and group them for easy displaying
$scope.$watch('document.inherited_acls', function(acls) { $scope.$watch('document.inherited_acls', function(acls) {
$scope.inheritedAcls = _.groupBy(acls, function(acl) { $scope.inheritedAcls = _.groupBy(acls, function(acl) {
return acl.source_id; return acl.source_id + acl.id;
}); });
}); });
}); });