mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -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);
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user