Adding User Conditions to an Access Rule

User conditions determine which users an access rule applies to. You can add conditions for individual users, for the users who are assigned specific permission sets, or for the users who are assigned specific permission set groups.

When you add user conditions, consider the following:

  • An access rule can contain permission set conditions or permission set group conditions, but not both. After you add a condition for one of these types, the other type is no longer available. You can combine user conditions with either type.
  • A permission set group condition only matches users who are directly assigned the permission set group. Users who are assigned all the permission sets in the group individually are not matched.
  • If a user, permission set, or permission set group that a condition references is deleted, or if the API name of a permission set or permission set group changes, the condition no longer matches any user. The User Conditions Valid field on the access rule is deselected, and the Users tab displays a message asking you to update the conditions.

To add user conditions to an access rule:

  1. Open the access rule you want to add the user conditions to.
  2. Open the Users tab.
  3. Click Add User Conditions. The User Conditions window displays.
  4. In the Type field, select one of the following:

    • "User", if you want the condition to match individual users.
    • "Permission Set", if you want the condition to match the users who are assigned the specified permission sets.
    • "Permission Set Group", if you want the condition to match the users who are directly assigned the specified permission set groups.
  5. In the Operator field, select one of the following:

    • "Equals", if you want the access rule to apply to the specified users, or to the users assigned the specified permission sets or permission set groups.
    • "Does Not Equal", if you want the access rule to apply to all users, except for the specified users or the users assigned the specified permission sets or permission set groups.
    • "Contains", if you want the access rule to apply to users whose name contains the text you enter, or who are assigned a permission set or permission set group whose label contains the text you enter.
    • "Does Not Contain", if you want the access rule to apply to users whose name does not contain the text you enter, or who are not assigned a permission set or permission set group whose label contains the text you enter.
  6. In the Value field, do one of the following:

    • If you selected "Equals" or "Does Not Equal", search for and select the values.
    • If you selected "Contains" or "Does Not Contain", enter the text to match. The text is not case-sensitive.
    Note:

    Only users that are assigned a license for the WorkGrid package are listed.

  7. [Optional] To add more user conditions, click Add Condition, then repeat steps 4 to 6 to define the condition.
  8. If you added multiple conditions, specify the logical operator that is applied between the conditions. In the Condition Logic field, select one of the following:

    • "AND", if you want all the conditions to be met for the rule to apply to a user.
    • "OR", if you want at least one of the conditions to be met for the rule to apply to a user. This is the default option.
  9. Click Save. The user conditions are now added.