mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Invitation service
Java Script API for invitations on Site object. Implementation of REST API for Site / Invitations. Rename of old invite workflow to invitation-nominated and renaming of properties for consistency. Old workflow is due for deprecation. Rework to Nominated workflow to unscramble user creation. Start Workflow UI bean now knows to avoid workflows managed by the InvitationService. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -53,13 +53,6 @@ public class ModeratedActionApprove extends JBPMSpringActionHandler
|
||||
final String reviewer = (String)executionContext.getVariable(WorkflowModelModeratedInvitation.wfVarReviewer);
|
||||
final String reviewComments = (String)executionContext.getVariable(WorkflowModelModeratedInvitation.wfVarReviewComments);
|
||||
|
||||
System.out.println("resourceType=" + resourceType);
|
||||
System.out.println("resourceName=" + resourceName);
|
||||
System.out.println("role=" + inviteeRole);
|
||||
System.out.println("inviteeUserName=" + inviteeUserName);
|
||||
System.out.println("reviewer=" + reviewer);
|
||||
System.out.println("reviewComments=" + reviewComments);
|
||||
|
||||
/**
|
||||
* Add invitee to the site
|
||||
*/
|
||||
@@ -67,7 +60,9 @@ public class ModeratedActionApprove extends JBPMSpringActionHandler
|
||||
{
|
||||
public Object doWork() throws Exception
|
||||
{
|
||||
siteService.setMembership(resourceName, inviteeUserName, inviteeRole);
|
||||
// Add the new user to the web site
|
||||
siteService.setMembership(resourceName, inviteeUserName, inviteeRole);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user