Add People to Group
To add people or a person to a group, using the PBAC membership policy, we need to follow the below steps
Add a PBAC attribute to a person - PBAC field type or an attribute is a connector used to connect an EmpowerID actor like a person 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 person will be added to the group.
Add a PBAC field Type or Attribute to a Person
On the navbar, expand Identity Administration and select People.
Search for a person to whom you want to add a PBAC field Type.
Â
Click on the person’s EmpowerID login link to open the view-one page for the person
Â
Click on the PBAC attribute assignment 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 person.
Â
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 with 15 min and click on Save.
Â
This will create the PBAC membership policy and queue it for compilation.
Add a PBAC Attribute to a PBAC Membership Policy
You can add a PBAC attribute to an existing PBAC membership policy. In the previous step, we created a PBAC membership policy for a group. In this post, we are going to add the attribute to that PBAC membership policy. Therefore let us follow the below steps.
On the navbar, expand Identity Administration and select Groups.
Search for the group name.
Â
Click on the group’s logon name link to open the group’s view-one page. Select the Advanced tab.
Â
Scroll down. Under the Membership tab, select Attribute-Based Membership Policies and you can see the PBAC Membership policies attached to this group.
Â
Click on the Name link of the PBAC Membership policy you want to add an attribute to. This will open the view-one page of this PBAC membership policy. Select the Attribute Conditions (Field Types) link.
Â
Click on the + icon to add an attribute to this policy that you added to the person earlier. Search for the name of the PBAC membership policy and select it. Select the two values ( sales and IT) check boxes. Select the checkbox If matches all values. Click Save.
Â
The attribute is now added to the PBAC membership policy type.
Â
Â
Verify the Result
After the PBAC membership policy is compiled we can verify the result. After the PBAC membership policy is compiled, it will add the person to the group. This can be checked at the view-one page of the group( for which the policy was created). Select the Group Members link. We can see that the person( to which the PBAC attribute was added) is now a member of this group.
Â
Â
Â
Related
Â
Â
Â
Â
Â
Â
Â
Â