ACL to show a particular field to few groups and users having ITIL role and hide for others
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 05:49 AM
Hello all,
Can someone help me how to write ACL for the below condition in incident table.
I have created a new field (checkbox) in incident type and only certain users should be able to check this while for others this field should not be visible.
ACL--> Assignment group(of that incident), Service Management, any group with role itil or role incident_itil should be able to check flag, update fields and save INC
Thanks and regards,
Hema
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 05:51 AM
@Ankur Bawiskar Hi Ankur hope u r doing good. You have helped me with few of my previous queries. Can you please help me to construct the ACL for this based on the condition in INC table ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 05:54 AM
I would create a read and a write access control at the field level (i.e., incident.u_checkbox), and then add the roles that should be able to view/modify the field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 06:47 AM
@Jordan Vignoni hi thanks for your response but how do we fetch the assignment group of the incident and give access to particular groups?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 07:16 AM
If the access control needs to apply when the incident is assigned to assignment group is "X", then you can add "Assignment group is X" in the condition builder.
If it needs to apply for anyone that is a member of assignment group "X", you can assign a role specific only to assignment group "X".