ACL vs. User Criteria: Why use User Criteria if ACLs already handle row-level security?

the_madhankumar
Mega Contributor

Hi everyone,

I am trying to build a clear mental model of when to use ACLs versus User Criteria in ServiceNow.

Here is how I currently understand them:

  • ACLs secure data at the table, row, and field level (backend and database security).

  • User Criteria controls visibility and availability for Service Catalog items and Knowledge articles (commonly used in the Service Portal).

Since ACLs can already enforce row-level security using conditions or scripts, why do we still need User Criteria? Specifically:

  1. What happens in practice if someone tries to use row-level ACLs on the Knowledge (kb_knowledge) or Catalog Item ( sc_cat_item ) tables instead of User Criteria?

  2. Aside from letting non-admins (like Knowledge or Catalog Managers) manage access without editing ACLs, are there performance, caching, or platform behavior reasons why User Criteria is preferred?

Would appreciate real-world examples or best practices on how you separate the two!

1 REPLY 1

HasanM
Kilo Sage

Hi @the_madhankumar 

They do different jobs and work together.

ACLs secure data. They control who can read or write a table or field, everywhere (lists, forms, APIs).

User Criteria control content visibility. They decide who can see a catalog item or knowledge article in the portal, catalog, knowledge base and search.

On your questions:

  1. Read ACLs on kb_knowledge or sc_cat_item are checked record by record after the query runs. That leaves gaps in pagination and wrong counts ("rows removed by security constraints"). Also, the catalog and knowledge widgets, typeahead and AI Search are built to check User Criteria, so ACLs alone can give inconsistent results.
  2. Yes, there are platform reasons. User Criteria results are cached per user session, and they are evaluated where the content is queried, not record by record afterwards. That makes them faster for large catalogs and knowledge bases. They can also be reused across many items and knowledge bases, so you don't need a script per record.

Best practice: use User Criteria for "who can see this item or article", and keep ACLs for table, field and role-level security. Avoid custom row-level read ACLs on these tables unless you have a strict data-security need.

If this helped, please mark it as the solution.