You are here: Security > Attribute-based access control > Creating ABAC policies for a case and a user

Creating ABAC policies for a case and a user

You can create hierarchical attributes (to specify a defined ranking of values, represented as integers) and All Of and One Of conditions (to specify how to compare the multivalue attribute types between the user and object) on cases to determine who is authorized to access the case.

Note: You can create policies only for Work-, Data-, and Assign- classes.

  1. In Designer Studio, open a case and choose a property field, where you want to enter:
  2. Note: The One Of or All Of comparison operators are case-sensitive and sensitive to extra spaces in the lists of values being compared. For performance reasons, ensure that the column source property values and target values that are compared by these operators are in all uppercase (or all lowercase), with no spaces.

  3. Click Save.
  4. Click Records > Security > Access Control Policy Condition.
  5. Click +Create.
  6. In the Label field, enter the policy condition name.
  7. In the Context section in the Apply to (class) field, enter the rule, to which the policy applies.
  8. In the Add to ruleset field, select a ruleset.
  9. Click Create and open.
  10. Optional: Click Add conditional logic to configure a filter logic string for the condition.
    1. On the Definition tab, in the Conditional logic section, click Add conditional logic as needed to support situations where different logic needs to be applied.
    2. In the WHEN field, enter an Access When rule that evaluates whether the conditional logic should be used.
    3. In the second field, enter a filter logic string that is applied when the Access When rule evaluates to true. When the set of filters to be applied in an Access Control Policy Condition rule is determined conditionally using Access When rules, leave the filter logic entry blank if you want to enforce no policy condition at all, for example, for certain highly privileged users.
    4. In the OTHERWISE field, enter the filter logic string that is used when all of the when rules evaluate to false.
  11. In the Policy Conditions section, in the Condition field, enter a condition name.
  12. In the Column source field, enter the property in which the case attributes are entered.
  13. In the Relationship field, select an attribute, or attributes.

    If you select Is null or Is not null in the Relationship field, the Treat Empty As Null check box is automatically selected. When Treat Empty as Null is checked, even empty values are considered null.

    If you select Is null or Is not null in the Relationship field, the Value field is not active.

  14. In the Value field, enter all the attribute values that you want the condition to check.
  15. Click Save.
  16. Click Records > Security > Access Control Policy.
  17. Click +Create.
  18. In the Label field, enter the policy name.
  19. In the Action list, select one of the actions:
  20. In the Context section in the Apply to (class) field, enter a class.
  21. In the Add to ruleset field, select a ruleset.
  22. Click Create and open.
  23. On the Definition tab, select the Disallow creation of a policy with the same name at a descendant class check box to prevent overriding the policy in a descendant class.
  24. In the Condition field, enter the policy condition rule name.
  25. Click Save.