ACL to show a particular field to few groups and users having ITIL role and hide for others

Hemamani Prabha
Tera Contributor

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

 

HemamaniPrabha_0-1722516534461.png

 

Thanks and regards,

Hema

6 REPLIES 6

Hemamani Prabha
Tera Contributor

@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 ?

Jordan Vignoni
Tera Guru

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.

@Jordan Vignoni hi thanks for your response but how do we fetch the assignment group of the incident and give access to particular groups?

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".