mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge/build fix - fallout from ETWOTWO-604
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -964,7 +964,7 @@ public class SandboxServiceImplTest extends TestCase
|
||||
|
||||
// Invite web users
|
||||
wpService.inviteWebUser(wpStoreId, USER_ONE, WCMUtil.ROLE_CONTENT_CONTRIBUTOR, true);
|
||||
wpService.inviteWebUser(wpStoreId, USER_TWO, WCMUtil.ROLE_CONTENT_PUBLISHER, true);
|
||||
wpService.inviteWebUser(wpStoreId, USER_TWO, WCMUtil.ROLE_CONTENT_MANAGER, true); // note: publisher does not have permission to delete
|
||||
|
||||
// Switch to USER_ONE
|
||||
AuthenticationUtil.setCurrentUser(USER_ONE);
|
||||
@@ -1066,7 +1066,11 @@ public class SandboxServiceImplTest extends TestCase
|
||||
|
||||
// Invite web users
|
||||
wpService.inviteWebUser(wpStoreId, USER_ONE, WCMUtil.ROLE_CONTENT_CONTRIBUTOR, true);
|
||||
wpService.inviteWebUser(wpStoreId, USER_TWO, WCMUtil.ROLE_CONTENT_PUBLISHER, true);
|
||||
|
||||
// TODO - pending fix for ETWOTWO-981
|
||||
//wpService.inviteWebUser(wpStoreId, USER_TWO, WCMUtil.ROLE_CONTENT_PUBLISHER, true);
|
||||
|
||||
wpService.inviteWebUser(wpStoreId, USER_TWO, WCMUtil.ROLE_CONTENT_MANAGER, true);
|
||||
|
||||
// Switch to USER_ONE
|
||||
AuthenticationUtil.setCurrentUser(USER_ONE);
|
||||
|
Reference in New Issue
Block a user