OBLYTECH Logo
OBLYTECH Logo

Access Control Rules for Table Records

An access control rule in ServiceNow determines whether a user can perform an operation on a protected resource. For table records, define the table and operation, then apply role, condition, and script requirements. Add field rules where needed, and test permitted and denied users with ACL debugging before releasing the change.

Define the access decision before writing a rule

Start with one business action: who should read a record, change it, create it, or delete it? Treat those as separate decisions. An ACL secures one operation, so permission to read does not describe the intended policy for editing. Write the expected outcome for each operation before opening the configuration form.

Authentication establishes identity; authorization determines access after sign-in. A successful login therefore does not prove that someone should see a table. If the problem starts at sign-in, follow the ServiceNow single sign-on guide. If the user signs in successfully but cannot reach records, investigate authorization.

Use a small access matrix as your design record. For a hypothetical review table, reviewers might read assigned reviews, supervisors might edit a restricted assessment field, and unrelated users might receive no access. These are proposed requirements, not built-in permissions. Give each proposed grant a business owner and a matching denial test.

Keep the wider controls in view with the instance security and access control guide. This page focuses on the ACL decisions protecting table records and their fields.

Configure an access control rule in ServiceNow

Creating ACLs requires elevated privileges to the security_admin role. Elevate to that role, then navigate to System Security > Access Control (ACL) and select New. The configuration described here follows Brazil; check the fields and behavior on your instance and release before applying a change.

  1. Select Type. Choose the kind of object the rule will protect. Type determines the available operations and naming format. It becomes read-only after creation, so verify it before saving.
  2. Select Operation. Choose the action being secured. Create separate ACLs for separate operations rather than expecting one rule to cover the access matrix.
  3. Choose Decision Type. Allow If grants access when its evaluation succeeds. Deny Unless blocks access unless its evaluation succeeds. Record why the selected decision matches the requirement.
  4. Set Name. Identify the table and, when appropriate, the field. Avoid a broad wildcard when the requirement concerns a specific resource.
  5. Describe the permission. Explain the audience and business reason in Description. Select Active when the rule should be enforced.
  6. Define and save the requirements. Configure the relevant role and condition fields, review any advanced logic, then right-click the form header and select Save.

For Name, valid wildcard patterns include incident.* and *.number. A partial text pattern such as inc* is invalid. Treat a wildcard as a deliberate increase in coverage: write down which additional objects it includes and add those objects to the review.

Separate table access from field protection

A table rule and a field rule answer different parts of the access question. Start by establishing whether the user can access the table for the requested operation. Then inspect the rules protecting the particular field. Record the table and field observations separately during the investigation. A missing field alone does not identify the rule responsible for the result.

For the review-table example, first test whether a reviewer can open an intended record. Next test whether the restricted assessment field has the intended visibility and editability. Keep these as separate observations. “The form opened” is insufficient evidence that confidential fields are protected, while “the field is missing” does not identify which requirement failed.

Treat a table without an ACL as a security review item. Access Controls Auditor checks identify tables without ACLs; that finding does not establish who currently has access. Define the intended audience before adding a rule. For the review-table example, record which reviewers should gain access and which unrelated users should remain excluded, then test both outcomes.

Define the table coverage of the change in the test plan. If the requirement includes several related tables, name each one and choose a representative record for each test. For the review-table example, a successful check on one table does not demonstrate the expected outcome on another. Record the allowed and denied operations separately for every table included in the requirement.

Review related ACLs as part of the change. Use the ACL configuration watcher to see related rules when modifying an ACL, and use debugging to establish which rules actually run.

Keep role, data, and script requirements readable

Requires role accepts multiple roles, and a user with any one listed role satisfies that role requirement. Listing reviewer and supervisor therefore does not require both roles. Verify that the roles exist: when none of the roles referenced by the ACL exists on the instance, access is denied.

Use Data Condition to express the field values required for access. Security Attribute Condition expresses user and environment criteria. These condition fields are case-sensitive. Applies To serves a different purpose: it limits the ACL to records matching its filter. It requires a table in Name and is unavailable for ACL names beginning with an asterisk.

Select Advanced to expose the advanced condition fields when a script is necessary. The Script must evaluate to true or false, including through an answer variable. Access requires the script and the rule’s conditions to succeed. A script still executes when its field is hidden from the form, so inspect existing advanced logic during a review.

Be explicit about Admin overrides. When selected, admin users pass this ACL’s permission check regardless of its role or script restrictions, subject to the nobody-role exception. Clearing the option does not make role checks constrain administrators: administrators still pass those checks. Use a condition or script when administrators must satisfy a requirement.

For help planning the access design, see ServiceNow implementation.

Test who gets access with security debugging

Enable debugging through System Security > Debugging > Debug Security Rules. Then impersonate the user whose access you need to examine. Impersonation exposes what that user is allowed to see; a record blocked by an ACL remains unavailable in that view.

Test the same operation against an allowed record and a record outside the intended audience. Repeat with an unrelated user. For field restrictions, examine both list and form behavior. Capture the user, record, operation, expected result, and observed result for each case.

The field bug icon shows applicable ACLs and evaluation results. Debug output also identifies the rule path, evaluated object, return code, and criteria results. Inspect Roles, Condition, and Script rather than changing several requirements at once. A false result identifies a failed evaluation; it does not establish that the requirement itself is wrong.

A gray empty circle means evaluation was unnecessary. Blue icons indicate results reused from a previous ACL check. Read these distinctions before treating a skipped evaluation as a failure. The output can also include internal access-handler checks that cannot be modified.

If results remain unexpected, use the instance security troubleshooting guide to organize the investigation. Change one justified requirement at a time and repeat the affected tests.

Review exposure and preserve the decision record

Check for tables without ACLs and for empty ACLs or rules using the public role. Such configurations can expose protected content too broadly. Access Controls Auditor checks include these cases; use the findings to select records for review rather than treating a completed test as proof of the entire security design.

Keep the requirement, changed ACL identifiers, tested users, and results together. A reviewer should be able to tell why a permission exists and which denial case protects its boundary. Record unresolved exceptions before moving the change forward, with an owner responsible for deciding them.

Questions about ACL edge cases

Can playbook permissions grant access when a table ACL blocks it?

Playbook permissions and platform ACLs operate independently. A user can satisfy the playbook permissions and remain blocked by a table ACL. Investigate the table decision before loosening content filtering.

Do application administration ACLs cover ordinary business records?

The application administration behavior described here concerns configuration records in tables extending Application File. With application administration enabled, the scoped application’s ACL rules are used by default. Global rules can apply when no scoped rules are found. Check both the glide.security.scoped_administration.honor_global_acl property and the table’s entry in sys_scoped_admin_acl_inheritance when reviewing global inheritance. The property is enabled by default on new and upgraded instances, but verify its actual value; applications do not all permit global rules. Do not apply that configuration-record behavior indiscriminately to business tables.

Why can debugging reveal ACL metadata during impersonation?

The glide.security.access_acl_as_impersonator property permits read access to specified ACL-related tables during impersonation by default. If disabled, a separate session as admin or security_admin may be needed to inspect that metadata.

Can a script misidentify the record in a related list?

For an evaluated item in a related list, current points to the record containing that list. Outside that context, it points to the item being evaluated. Review that context before assuming a script is testing the intended record.

Does clearing an ACL admin override stop administrators passing the check, and how should a buyer test sensitive-data access?

No. As of November 2026, turning off Admin overrides on an ACL leaves administrators able to pass its role checks, so a role requirement by itself does not keep them out. Confirm the outcome from a real administrator account, because the role list on its own does not show what an administrator can reach.

Build the identity set before opening any record

Assemble a short identity set, and record the intended outcome for each identity before testing:

  • an employee who belongs to the intended audience for the sensitive field
  • an employee who does not belong to that audience, with the same ordinary role
  • an external user, if any external access exists in the instance
  • the account each integration uses to call the instance
  • an administrator, and a security administrator where that role is assigned

Run each identity across every route

The form is only the first place a restricted value appears. Lists, related lists, attachments, reports, exports and the REST or SOAP endpoints can each return the same value, and each needs its own recorded result.

  1. Read the restricted field in the form view and in list views, with the field shown as a column.
  2. Open a related list or reference that displays the record’s field values from another table.
  3. Check attachments on the record, since files can carry the same content outside the field.
  4. Run the relevant report, then export it in each format the business uses.
  5. Call the REST or SOAP endpoint that returns the table, using the integration identity and a human identity.
  6. Repeat the edit, create and delete operations, since each is a separate ACL decision.

Compare results against the written expectation

Record four things for every combination of identity, route and operation: the expected result, the observed result, the ACL that produced it and the date of the test. A pass means the observed result matches the expectation written in advance. An unexpected pass for an identity outside the audience matters most, even when the rest of the matrix looks correct.

Encryption results need the same treatment. Storage encryption and access authorization address different risks, so in most implementations an identity authorized to read decrypted values still receives them, whatever the storage layer does. Include scripts and integrations in that check.

What to request as evidence

  • the test matrix with identities, routes, operations, expected and observed results
  • the Admin overrides setting for every ACL in the test, recorded as selected or cleared
  • the debug output for each unexpected result
  • the list of integration identities and the roles each one holds
  • a written statement of whether reads of the field are captured in audit records, because table auditing records changes on enabled tables, which does not establish that each read or export was logged

Re-run the matrix after any configuration change, clone or upgrade. Earlier results describe an earlier state of the instance.