- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2019 11:41 AM
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 |
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2019 12:00 PM
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.
Please Mark as Correct/Helpful if you find help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2019 01:27 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader