Merged 5.2.N (5.2.2) to HEAD (5.2)

134398 mward: Merged mward/5.2.n-repo-1583-groupmem (5.2.1) to 5.2.N (5.2.1)
      134078 mward: REPO-1583: sketching out some basic code/infrastructure.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrei Rebegea
2017-06-14 16:56:57 +00:00
parent 5706e129f9
commit bc4b80b5b0
3 changed files with 75 additions and 0 deletions

View File

@@ -165,6 +165,8 @@ public class GroupsImpl implements Groups
}
final AuthorityType authorityType = AuthorityType.GROUP;
// TODO: I think this is where we need to do this slightly differently, i.e.
// getAllRootAuthoritiesByUserId(). What about root authorities? Are all group authorities root?
final Set<String> rootAuthorities = getAllRootAuthorities(authorityType);
PagingResults<AuthorityInfo> pagingResult = getAuthoritiesInfo(authorityType, isRootParam, rootAuthorities, sortProp, paging);