The ACL debugger in ServiceNow is a built-in switch that shows the access control rules evaluated for the form or list in front of you, and whether each one passed or failed. Turn it on, reload the page, and read the output at the bottom to see which rule blocked a user.
What the ACL debugger actually shows you
An access control rule (ACL) decides whether a user may read, write, create or delete a record, or a single field on it. The trouble is that several rules can apply to one request, and you cannot see them from the form itself. A user says “I can’t see the Resolution field” and the form gives you nothing to work with.
The debugger fills that gap. With it enabled, fields that carry an ACL show a small bug icon next to them. Click the icon and you get the list of rules that apply to that field and the result of each. The same information is printed in a panel at the bottom of lists and forms, so you can scan a whole page of evaluations at once.
Each line in that output carries a few pieces worth knowing:
| Element | What it tells you |
|---|---|
| TIME | How long the rule took to process |
| PATH | The rule identifier, written as type, name and operation |
| CONTEXT | The object being evaluated, such as a table or a field |
| RC | The return code: true means the rule passed, false means it failed |
PATH tells you which rule you are looking at, and RC tells you the verdict. Once you have a PATH with an RC of false, open the rule record itself and read what it requires. The output tells you where to look, and the rule record tells you what the rule demands of the user.
How to turn on the ACL debugger
The switch lives in the security menu. Navigate to System Security, then Debugging, then Debug Security Rules. If your menu looks different, search the navigator for Debug Security Rules.
Once enabled, open the form or list that is misbehaving. The bug icons appear beside fields that have rules, and the output panel appears at the bottom.
Turn the debugger off when you finish, because the output panel keeps appearing at the bottom of the lists and forms you open while it is on.
A step-by-step way to debug a real access complaint
A method keeps you from chasing the wrong rule. This sequence suits a typical access ticket.
- Reproduce the problem as the affected user. Debugging as yourself tells you about your own access, which may be broader than theirs. Impersonate the user, then open the same record or list they were using.
- Enable the debugger before loading the page.
- Find the failing line. Look for an RC of false. Note the PATH, because it names the exact rule.
- Open that rule and read what it requires. Compare the rule’s requirements with the user and the record in front of you. Ask what the rule expects, and what is different about this user or this record.
- Change one thing, then retest. Adjust the rule, reload as the same impersonated user, and confirm the line flips to true. Changing several things at once leaves you unsure which one fixed it.
Impersonation and the admin session
Impersonation matters because the debugger reports on whoever is logged in. If you debug as an administrator, the output shows that administrator’s access, which may not explain why a standard user is blocked.
There is a catch. While you are impersonating a user, that user may not be allowed to read the ACL records themselves, which would leave the debug output thin. ServiceNow handles this with a system property, glide.security.access_acl_as_impersonator, which controls whether the ACL, operation, type and role tables stay readable while you impersonate a user; search System Properties for that name on your instance. By default that read access is granted. If it has been switched off on your instance, run a second session as an administrator alongside the impersonated one, and read the rule definitions there.
Common problems the debugger helps you find
Mapping a symptom to what you will see in the output saves time.
| Symptom | What the debugger usually reveals |
|---|---|
| A table rule seems to be ignored | Which table rules were evaluated, and which one returned false |
| A field rule seems to be ignored | Which field rules were evaluated, and whether a duplicate or conflicting rule sits beside it |
When you see either pattern, look at which rules the debugger lists for the table, and add or adjust an explicit rule with the roles you actually intend rather than widening an existing one.
Duplicates deserve their own mention. Over time an instance collects rules written by different people for different tickets, and two rules on the same table or field can pull in different directions. The debugger lists the rules it evaluated for the request, so a duplicate can show up as a second PATH for the same object. When you find one, decide with the owner of the table which rule should remain, and retire the other through your normal change process rather than deleting it in a hurry.
Reading a failed rule
When a rule shows an RC of false, the debugger has told you where to look but not why. Open the rule and read it with the failing user and record in mind. Write down, in plain words, what the rule asks for and what this user has. The gap between those two sentences is the cause of the ticket.
A worked scenario, labelled as an example only: a support agent reports that they can open an incident but cannot see one particular field. You impersonate the agent, switch the debugger on, and reload the incident. The field’s bug icon opens a list of rules. One line shows an RC of false. You open that rule from its PATH, read its requirements, and compare them with the agent’s account. Now the ticket has a specific answer, and the fix is a deliberate change to that rule or to the agent’s access, approved by whoever owns the data.
Where the ACL debugger stops being enough
The debugger tells you what the server-side access rules decided. A field can also be hidden or made read-only by other mechanisms, such as UI policies and client scripts, and those may not appear as failed ACL lines, because the debugger output covers ACL rules only. If the debugger shows every relevant rule passing and the user still cannot see the field, widen the search to those client-side controls.
Who should own an access change
Access complaints tend to arrive as a one-line ticket, and the person who raised it is rarely the person who owns the data. Before you touch a rule, find out who is accountable for the table involved and tell them what you found. Share the PATH, the user you tested as, and what you intend to change. This turns a quiet edit into a decision someone can approve, and it leaves a trail when somebody asks months later why a rule looks the way it does.
It also helps to agree a short review step for access changes. A second person reads the rule before and after, and confirms with a non-admin account that the outcome matches the request. The review costs minutes and prevents the common pattern where one fix quietly opens something wider than anyone intended.
Habits that keep ACL work safe
- Test with a real non-admin account, or impersonate one, before you declare a fix done.
- Keep a note of the rule PATH you changed so the change can be reversed.
- Look for duplicate rules on the same table and field before adding a new one, since duplicates are a common cause of rules that appear to do nothing.
- Make the change in a development instance first and move it through your normal update set process, because an access rule change on a live system affects the users that rule covers.
- Do not loosen a rule just to make a ticket go away. Find which rule failed, and fix that rule.
- After the fix, ask the original user to confirm in their own session, not yours. Your session proves the rule changed; theirs proves the problem is gone.
Frequently asked questions
Does the ACL debugger change any access?
No. It records and displays how rules were evaluated, while your rules keep deciding access as before. It adds output to the lists and forms you open while it is on, so turn it off afterward.
Why do I see no bug icons on a field?
The icon appears beside fields that have a rule applied. If a field shows none, no rule is attached at that level, or the debugger is not switched on for your session. Confirm it is enabled, reload, and check again.
Can I debug as another user without knowing their password?
Yes, by impersonating them from the user menu, assuming your role permits impersonation. You then see exactly what they are allowed to see, and the debugger output reflects their access rather than yours.
The debugger says everything passed, but the user still cannot see the field. What next?
Look beyond ACLs. UI policies, client scripts and form layout can hide or lock fields without any ACL involved. Check these on the same table.
Is the debugger the same on every release?
The core behaviour is the same across recent releases: a bug icon beside fields, and an output panel with PATH and RC.