mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 11:23:48 +01:00
Closes #98: Fix inherited permissions table
This commit is contained in:
parent
b9cd113dc0
commit
b1e58396d1
@ -69,7 +69,7 @@ public class ClientUtil {
|
||||
* Creates a group.
|
||||
*
|
||||
* @param name Name
|
||||
* @param parent Parent
|
||||
* @param parentId Parent ID
|
||||
*/
|
||||
public void createGroup(String name, String parentId) {
|
||||
// Login admin to create the group
|
||||
|
@ -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;
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user