mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Various changes to Invite Service
- added functionality to forbid a user from cancelling a pending invite, if he/she is not a Site Manager for the site associated with that invite - added CancelInviteAction workflow action class, with functionality to clean up disabled invitee account and invitee person node when (upon cancellation) there are no outstanding invites for that invitee. - added various unit tests to InviteServiceTest for above functionality - added automatic redeployment of invite process definition in setup(...) method of InviteServiceTest class - other minor refinements to InviteServiceTest - some minor refactoring to Invite Service to prevent code duplication amongst various invite web scripts and workflow action classes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -62,6 +62,9 @@
|
||||
<transition name="reject" to="inviteRejected">
|
||||
<action class="org.alfresco.repo.web.scripts.invite.RejectInviteAction"/>
|
||||
</transition>
|
||||
<transition name="cancel" to="end">
|
||||
<action class="org.alfresco.repo.web.scripts.invite.CancelInviteAction"/>
|
||||
</transition>
|
||||
</task-node>
|
||||
|
||||
<task-node name="inviteAccepted">
|
||||
|
Reference in New Issue
Block a user