I am trying to use groups to set visibility on queues:
Code: Select all
$Self->{TicketAcl}->{'ACL-Queues-Visibility'} = {
# match properties
Properties => {
User => {
Group_rw => ['Group1'],
},
},
#Action -
Possible => {
Ticket => {
Queue => ['G1',],
},
},
};
$Self->{TicketAcl}->{'ACL-Queues-Visibility'} = {
# match properties
Properties => {
User => {
Group_rw => ['Group2'],
},
},
#Action -
Possible => {
Ticket => {
Queue => ['G2',],
},
},
};
$Self->{TicketAcl}->{'ACL-Queues-Visibility'} = {
# match properties
Properties => {
User => {
Group_rw => ['Group1,Group2'],
},
},
#Action -
Possible => {
Ticket => {
Queue => ['G1','G2'],
},
},
};
Now here's a problem, if you are in Group1 you shouldn't be able to see queue G2 but right now no matter which group you are in it shows both G1 and G2 queues. Does anyone know solution to this?