ACL condition

Sunny Gurung
Mega Contributor

Which of the following will allow access if true in an ACL?

Condition field evaluates to true
Script field returns true or sets the variable answer to true
The user has one of the Required roles
Other matching ACL rules for the object evaluate to true

 

1 ACCEPTED SOLUTION

Kajal Goti
Mega Guru

Hi,

All must be evalute true.role,condition and script.

  • The condition must evaluate to true.
  • The script must evaluate to true or return an answer variable with the value of true.
  • The user must have one of the roles in the required roles list. If the list is empty, this condition evaluates to true.
  • [Record ACL rules only] The matching table-level and field-level ACL rules must both evaluate to true.

find_real_file.png

Please Mark as Correct/Helpful if you find help.

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sunny,

Here is the approach: all the 3 sections are evaluated only if there is something in it

1) if condition specified then it should evaluate to true; if no condition given then it is not evaluated

2) if advanced checkbox selected and there is script written then answer should return true

3) if any role given then user should have that role

4) if any other matching ACL present and that gives access and current ACL blocks access would be given

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader