mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57912: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 57879: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.1) 57877: MNT-9926: reformat code changes from 53236: MNT-9101 Share: Cancelling an invitation for a disabled user, the user gets deleted in the process. -add tests for both internal and external user invite cancellation -add new aspect to identify external invites and exclude from post invite cancellation cleanup git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -372,7 +372,6 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
|
||||
nodeService.removeAspect(person, ContentModel.ASPECT_ANULLABLE);
|
||||
}
|
||||
|
||||
|
||||
return invitation;
|
||||
}
|
||||
|
||||
|
@@ -288,8 +288,8 @@ public class InviteHelper implements InitializingBean
|
||||
|
||||
// if invitee's user account is still disabled and there are no pending invites outstanding
|
||||
// for the invitee, then remove the account and delete the invitee's person node
|
||||
if (person != null
|
||||
&& (authenticationService.isAuthenticationMutable(inviteeUserName))
|
||||
if (person != null
|
||||
&& (authenticationService.isAuthenticationMutable(inviteeUserName))
|
||||
&& (authenticationService.getAuthenticationEnabled(inviteeUserName) == false)
|
||||
&& (invitesPending == false)
|
||||
&& nodeService.hasAspect(person, ContentModel.ASPECT_ANULLABLE))
|
||||
|
Reference in New Issue
Block a user