Does UI Policy override ACL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2019 07:04 AM
I've a custom field on change_request form and have restricted it to be read only when state is greater than authorize. I've a write ACL to make is editable only for users with role CAB manager. When I login as CAB manager, the field is still read only. Anything I am missing here?
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2019 08:18 AM
I did get this to work on my custom table.
I have 2 acls, one WRITE with * and one WRITE with custom_field selected.
write with * write with custom_field
abel tuter yes no
aileen mottern yes yes
and
i have ui policy
if my category field = a then my custom_field is readonly
this configuration works ...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2019 08:15 AM
Your ACL should work.Can you share screenshot for your ACL configuration?
Are you impersonating as CAB manager while testing your ACL?
Also, turn on debug security rules to find out which ACL is allowing access for CAB manager.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2019 08:28 AM
Hi Sachin,
Yes, I am impersonating as CAB manager. When field watch that custom field I can see that UI policy is making it read-only even though I've ACL for that particular field to make it editable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2019 09:56 AM
i successfully accomplished your requirement.
i gave abraham lincoln the sn_change_cab.cab_manager role and did NOT give it to abel tuter. (they are my test users).
I created an acl on change_request: WRITE with custom_field selected.
write with custom_field ACL
abel tuter no
abraham lincoln yes
and
i have ui policy
if state is one of ( scheduled, implement, review ...) then my custom field is readonly.
result:
field is readonly to abel tuter always and editable to lincoln in the states before scheduled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2019 10:44 AM
Hi ggg,
My requirement is to make CAB manager edit the custom field in all states and not editable for other ITIL users in particular state.