Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
The role of the Invitation Service is to manage the process of granting users access to a specified resource. At present the Invitation Service only manages access to Sites.
The process of granting a user access to a resource is represented as an Invitation object. An Invitation stores information holds the following information:
Invitations are implemented as workflow instances (using either the Activiti or JBPM engine).
The various steps in the invitation process are represented as workflow tasks which are visible in the Share Workflow UI (My Tasks dashlet/page), mostly avoiding the need to develop a UI specifically for invitations.
There are two types of Invitation, *Moderated Invitation and Internal Nominated Invitation, which are discussed in more detail below.
A moderated invitation is one where a user requests a certain level of access (a Role) to a Resource (Site). The request is reviewed by one of the Resource Managers and is either approved, in which case the user is granted the requested level of access or rejected, in which case the user is not granted access.
Since the user must be logged in as an Alfresco Authority in order to initiate a Moderated Invitation external users cannot request invitations in this way.
The diagram below outlines the process followed during a Moderated Invitation.
JBPM process definition: invitation-moderated_processdefinition.xml
Activiti process definition: invitation-moderated.bpmn20.xml
A nominated invitation is one where a Resource Manager sends an invitation to another user, inviting them to gain access to the resource (Site) with a specified permission level (Role). When the invitation is sent by the Resource Manager an email is sent to the invited user, providing links for the user to accept or reject the invitation. If the invited user accepts the invitation he gains access to the Resource. If he rejects the invitation then the process ends. The Resource Manager who sent the invitation also has the option to cancel the invitation, ending the process.
The invited user is not required to be an existing Alfresco Authority. In this case a temporary Authority is created for the invited user and if the user chooses to accept the invitation the Authority is made permanent. If the invited user rejects the invitation then the temporary Authroity is deleted.
JBPM process definition: invitation-moderated_processdefinition.xml
Activiti process definition: invitation-moderated.bpmn20.xml
Returns a list of Invitations represented as JSON objects. The invitations returned can be filtered by invitee user name, invitation type, resource type and site short name (resource name).
Generic binding:
/api/invitations?inviteeUserName={inviteeUserName?}&invitationType={invitationType?}&resourceType={resourceType?}
Parameter | Mandatory | Description |
---|---|---|
inviteeUserName | false | The name of the invited user |
invitationType | false | Is the invitation Nominated or Moderated |
resourceType | false | Type of Resource (e.g. Site) |
Site-specific binding:
/api/sites/{shortname}/invitations?inviteeUserName={inviteeUserName?}&invitationType={invitationType?}
Parameter | Mandatory | Description |
---|---|---|
shortname | true | The Site Short Name |
inviteeUserName | false | The name of the invited user |
invitationType | false | Is the invitation Nominated or Moderated |
Returns a JSON representation of a single Invitation, specified by site short name and Invitation Id.
Site-specific binding:
/api/sites/{shortname}/invitations/{inviteId}
Parameter | Mandatory | Description |
---|---|---|
shortname | true | The Site Short Name |
inviteId | true | The Id of the Invitation |
Creates a new Invitation. A JSON object is used to specify the various parameters, including invitation type, invitee user name, role, etc.
Site-specific binding:
/api/sites/{shortname}/invitations
Deletes the Invitation as specified by Invitation Id.
Site-specific binding:
/api/sites/{shortname}/invitations/{invitationId}
Invite Service Design (Deprecated)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.