CentraSite Documentation : CentraSite User’s Guide : Working with Design/Change-Time Policies : Using 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/or 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 might 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.
The following procedure describes the general steps you use to create a consumer-registration policy that includes an approval action:
1. Create a design/change-time policy with the following scope:
*Event Type: OnConsumerRegistration
*Object Type: Asset (of any type)
If you need procedures for this step, see Adding a Design/Change-Time Policy to CentraSite.
2. On the policy's Actions tab, add the following actions. Make sure the approval action precedes the Register Consumer action:
*Initiate Approval —OR— Initiate Group-dependent Approval
*Register Consumer
If you need procedures for adding actions to a policy, see Adding a Design/Change-Time Policy to CentraSite.
3. Configure the approval action's input parameters. If you need procedures for adding actions to a policy, see Configuring Policy Action Parameters.
4. Insert additional actions before and/or 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
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback