Software AG Products 10.7 | Using CentraSite | Policy Management | Managing Design and Change-Time Policies through CentraSite Control | Approval Policies | Using Approvals with OnConsumerRegistration Events
 
Using Approvals with OnConsumerRegistration Events
The OnConsumerRegistration event occurs when the user submits the consumer registration request.
The enhanced feature enables users to register users and applications as consumers of an asset without explicitly creating a consumer-registration policy and without requiring the owner of the asset to review and accept the registration request.
If you want to impose an approval process, that is, you want designated individuals to review and approve the registration request, you create a design-time policy with one of the CentraSite's built-in approval actions for the OnConsumerRegistration event. At a minimum, this policy must include the Register Consumer action, because this action performs the work of actually registering a consumer (that is, it establishes the actual relationship between the asset and the specified consumers). It can optionally include other actions, such as Set Consumer Permission action, as needed.
*To use approvals with OnConsumerRegistration events
1. Create a design/change-time policy with the following scope:
*Event Type: OnConsumerRegistration
*Object Type: Asset (of any type)
2. On the policy's Actions tab, add the following actions. Ensure that the approval action precedes the Register Consumer action:
*Initiate Approval —OR— Initiate Group-dependent Approval
*Register Consumer
3. Configure the approval action's input parameters.
4. Insert additional actions before and after this pair of actions as necessary. The following example shows an action list that obtains the required approval, executes the registration process, and then grants instance-level permissions to the consumers that the policy registers:
Initiate Approval
Register Consumer
Set Consumer Permission