How to limit group members to view there only assigned tickets to them?

Kruthik M Shiva
Tera Contributor

Hi All,
I have a requirement where i need to limit group members to view the tickets which are assigned to them but not the other tickets and also only the manager should be able to view all the tickets assigned to the group. how to do this if anyone has pointers on this please do share.
Thanks in advance.

3 REPLIES 3

SanjivMeher
Kilo Patron
Kilo Patron

If they shouldn't see the tickets at all, you will have to modify the ACL for the table to only allow assignee to see the record or the group manager can see the record.

If you just want to build a menu option, you can create an application menu for them, where they can click and see tickets assigned to them only.


Please mark this response as correct or helpful if it assisted you with your question.

Hi sanjiv,
The group members should view tickets which are assigned to them, but manager should be able view all the tickets of the group? Can you please tell what exactly need to be done for this??

You need to see what you have in your ACL and update it. Below is an example for incident table, with Read ACL script as

if (gs.getUserID() == current.getValue("caller_id") || gs.getUserID() == current.assignment_group.manager) {
answer = true;
} else if (gs.getUser().isMemberOf(current.getValue("assignment_group")) && current.getValue("assignment_group")) {
answer = true;
} else {
answer = false;
}

 


Please mark this response as correct or helpful if it assisted you with your question.