One particular Role Users can only see assigned to their groups incidents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 05:16 AM
Hi,
I have one requirement that one particular role users can only see assigned to their groups incident tickets
How can you limit those?
How to write ACl for that requirement
Can anyone help to achieve this
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 07:36 AM
Hi,
Using ACL: Please follow below points:
1. New ACL- read operation- specify table name.
2. Mention role in role section for which you want to restrict.
3. Enable advanced checkbox , script section will be displayed in that you can use this logic
- First get logged in user's assignment groups using this function- gs.getUser().getMyGroups()
- After that check if current assignment group is same as my group which got from above function.
4. Test it ,you might need to check existing read ACLs if they are not allowing to execute as per your ask.
I hope ,I understood your requirement and it helps you. if yes , please mark this answer as Helpful/Correct.
Regards,
Priyanka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 07:59 AM