To add account to a group, using the PBAC membership policy, we need to follow the below steps
Add a PBAC attribute to an account - PBAC field type or an attribute is a connector used to connect an EmpowerID actor like an account to a PBAC membership policy target such as a group.
Create a PBAC membership policy for a group - It is required to create a PBAC membership policy so that we can use it for a target type( e.g., a Group).
Add the same PBAC attribute to the policy - PBAC field type or attribute should be added to a PBAC membership policy, for connecting it to an EmpowerID actor.
Wait for policy compilation and verify the result - Once the policy is compiled the account will be added to the group.
Add a PBAC field Type or Attribute to an Account
On the navbar, expand Identity Administration and select User Accounts.
Search for an account to that you want to add a PBAC field Type.
Click on the account’s logon name link to open the view-one page for the account.
Click on the PBAC attribute assignments on the left menu. After that click on the + icon to add a PBAC attribute. Select the radio button Attribute Only, search for the name of the attribute and select the two check boxes for values of attribute (sales and IT). Click Save.
This will add this attribute to the account.
Create a PBAC membership policy for a group
PBAC Membership policies can be created on the view one page of the roles, groups, and collections that are the target of the policy. In the below example, we demonstrate how to create a policy using the view-one page of a group that is the target of the policy.
On the navbar, expand Identity Administration and select Groups.
Search for a group name.
Click on the group logon name hyperlink to open the group’s view-one page.
Select the Advanced tab and scroll down to select Attribute-Based Membership Policies.
Click on the + icon in the above image to create a new membership policy for this group. The below page will open. Enter the name of the policy, select a policy type. Check the IsEnable check box. Select the minute interval (say 15 min) and click on Save.
This will create the PBAC membership policy and queue it for compilation.