One ACL making field read only and other making field editable on form , which one will apply ?

KS86
Tera Contributor

Hi Community,

 

Can anyone explain above scenario?

Is there any order or logic which applies while evaluating this kind of scenarios? 

6 REPLIES 6

Jessica40
Tera Contributor

When two ACLs apply to the same field and one grants access while the other denies it, the most restrictive ACL always wins.

Rule: Deny overrides Allow

ServiceNow evaluates ACLs in this order:

  1. Table-level ACL

  2. Field-level ACL

  3. Most restrictive result applies

If any matching ACL returns false (deny), the user is denied that operation, even if another ACL returns true (allow).

So in your case:

  • One ACL makes the field read-only (deny write)

  • Another ACL makes the field editable (allow write)

The result will be:

Field becomes read-only

Because:

  • A single deny on the write operation stops the user from editing the field.

  • Allow does not override a deny.

PrashantLearnIT
Tera Sage

Hi @KS86 

 

If a user satisfies at least one permissive ACL, they will be allowed to edit the field, regardless of any other ACLs that might deny access.

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************