Lessons › Domain 3: Security and Restricting Access (20%) › Lesson 10
Access Controls
About 16 minutes · Last checked against the CAD blueprint (January 2026): 4 December 2026
Step 1 · Learn
Protecting records and fields
An access control (ACL) grants an operation on a table or field when its requirements are met. If no access control grants access, access is denied.
Parts of an access control
- Type, usually record, for tables and fields.
- Operation: read, write, create or delete, among others.
- Name:
table.Nonefor whole records,table.fieldfor one field,table.*for all fields. - Requirements: roles, a condition and a script. All requirements that are set must pass.
Evaluation order
The platform first checks table-level access controls, then field-level ones. A user needs to pass both to see a field. Within each level, the most specific match wins: table.field, then the parent table's field, then .field; for records, table.None, then the parent's, then .None.
Creating access controls
- Automatically: when you create a table and select Create access controls, the platform creates a role and access controls for create, read, write and delete.
- Manually: create them in the Access Control list. Editing access controls needs the security_admin role, which you elevate to for your session.
Testing and debugging
- Impersonate a user with the right roles and try the operations.
- Turn on Debug Security Rules to see which access controls pass or fail on a page.
- Use the Access Analyzer to check why a user does or does not have access.
Step 2 · Do
Protect the loan request table
Users must only read their own loans. Check the access you are building against the data. This is a practice environment of our own design, not the ServiceNow product. Complete the tasks in the task list.
Step 3 · Check
Exam-style questions
Select an answer and check it. Every answer includes an explanation.