mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged 5.1.N (5.1.3) to 5.2.N (5.2.1)
135136 cpopa: Merged WEBAPP-API (5.2.1) to 5.1.N (5.1.3) 135040 cpopa: MNT-17341 : External users with Manager role cannot invite other external users to the site because site invitation accept fails - Remove the ASPECT_ANULLABLE from an invited user if the invitation is accepted successfully git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -459,7 +459,7 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
|
||||
WorkflowModelNominatedInvitation.WF_TASK_ACTIVIT_INVITE_PENDING);
|
||||
|
||||
//MNT-9101 Share: Cancelling an invitation for a disabled user, the user gets deleted in the process.
|
||||
NodeRef person = personService.getPersonOrNull(invitation.getInviterUserName());
|
||||
NodeRef person = personService.getPersonOrNull(invitation.getInviteeUserName());
|
||||
if (person != null && nodeService.hasAspect(person, ContentModel.ASPECT_ANULLABLE))
|
||||
{
|
||||
nodeService.removeAspect(person, ContentModel.ASPECT_ANULLABLE);
|
||||
|
Reference in New Issue
Block a user