Configure a custom Access Control List (ACL) rule to secure access to new objects or to change the default security behavior.

Before you begin

Role required: security_admin

About this task

To create ACL rules, you must elevate privileges to the security_admin role.

For tables that are in a different scope from the ACL rule record, the types of rules are limited. For Scope Master tables to derive scope and execute scoped ACLS, set the glide.enforce_security_scope.<scope_name> property to true. This ensures ACLs in the global scope do not match when there are scope specific ACLs created on the relevant table. Examples are when securing data within shared application tables in the Global scope, such as sys_attachment or sys_question_answer tables.

Procedure

  1. Elevated privilege roles to the security_admin role.
  2. Navigate to System Security > Access Control (ACL).
  3. Tip: When creating a new ACL it is helpful to review the Deny-Unless ACL.
    Click New.
    Tip: When creating a new ACL, it is helpful to review the Deny-Unless ACL.
  4. Complete the form.
  5. (Optional) To narrow the scope of the ACL fill in the Conditions fields as necessary.
    Requires role Use this list to specify the roles a user must have to access the object. If you list multiple roles, a user with any one of the listed roles can access the object. The Requires role list appears as a related list.
    Note: Users with the admin role always pass this permissions check because the admin role automatically grants users all other roles.
    Data Condition Use this condition builder to select the fields and values that must be true for users to access the object.
    Note: The Condition field is case sensitive
  6. (Optional) If the Advanced box is checked, fill in the Advanced Conditions fields as necessary
    Script Enter a custom script describing the permissions required to access the object. The script can use the values of the current and previous Global variables in business rules as well as system properties. The script must generate a true or false response in one of two ways:
    • return an answer variable set to a value of true or false
    • evaluate to true or false

    In either case, users only gain access to the object when the script evaluates to true and the user meets any conditions the ACL rule has. Both the conditions and the script must evaluate to true for a user to access the object.

    Note: If the evaluated item is in a related list, current points to the item the related list is on, not to the current item the ACL is for. However, If the item you are evaluating the ACL for is not in a related list, current points to the actual item.
    Tip: If there is script in the Script field. This script executes even if the field is not displayed on the form.
  7. Right-click the form header and select Save.