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 cfc456616a
commit 423da7eb22
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ public class GroupsTest extends BaseWebScriptTest
{ {
this.authenticationComponent.setSystemUserAsCurrentUser(); this.authenticationComponent.setSystemUserAsCurrentUser();
rootGroupName = authorityService.createAuthority(AuthorityType.GROUP, TEST_ROOTGROUP, TEST_ROOTGROUP_DISPLAY_NAME, null); rootGroupName = authorityService.createAuthority(AuthorityType.GROUP, TEST_ROOTGROUP, TEST_ROOTGROUP_DISPLAY_NAME, authorityService.getDefaultZones());
String groupA = authorityService.createAuthority(AuthorityType.GROUP, TEST_GROUPA); String groupA = authorityService.createAuthority(AuthorityType.GROUP, TEST_GROUPA);
authorityService.addAuthority(rootGroupName, groupA); authorityService.addAuthority(rootGroupName, groupA);
String groupB = authorityService.createAuthority(AuthorityType.GROUP, TEST_GROUPB); String groupB = authorityService.createAuthority(AuthorityType.GROUP, TEST_GROUPB);

View File

@@ -419,7 +419,7 @@ public class SiteServiceTest extends BaseWebScriptTest
{ {
this.authenticationComponent.setSystemUserAsCurrentUser(); this.authenticationComponent.setSystemUserAsCurrentUser();
testGroupName = authorityService.createAuthority(AuthorityType.GROUP, testGroup, testGroup, null); testGroupName = authorityService.createAuthority(AuthorityType.GROUP, testGroup, testGroup, authorityService.getDefaultZones());
} }
this.authenticationComponent.setCurrentUser(USER_ONE); this.authenticationComponent.setCurrentUser(USER_ONE);