Extended zone support for multiple zones and added Authorities (including people) to zones. (MOB-762: Part 1)

WCM and Share groups are not in the default zones so they can be hidden in the UI.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2009-06-17 11:57:21 +00:00
parent f56e112c74
commit 1446ed220d

View File

@@ -355,11 +355,11 @@ public class GroupsDialog extends BaseDialogBean
// root groups
if (immediate == true)
{
authorities = this.getAuthorityService().getAllRootAuthorities(AuthorityType.GROUP);
authorities = this.getAuthorityService().getAllRootAuthoritiesInZone(AuthorityService.ZONE_APP_DEFAULT, AuthorityType.GROUP);
}
else
{
authorities = this.getAuthorityService().getAllAuthorities(AuthorityType.GROUP);
authorities = this.getAuthorityService().getAllAuthoritiesInZone(AuthorityService.ZONE_APP_DEFAULT, AuthorityType.GROUP);
}
}
else