IMHO 'spam' button is more secure way to mark as spam the ticket, so we need to remove junk/spam queue from dropdown without coding.
You can't just revoke move_into permission from junk/spam queue's group because you lose option 'mark as spam'. And here can help us simple ACL
#hide junk queue
$Self->{TicketAcl}->{'ACL-hide-junk-queue'} = {
# match properties
Properties => {
# all tickets
Ticket => {
},
#only on AgentTicketZoom page
Frontend => {
Action => [
'AgentTicketZoom',
],
},
},
PossibleNot => {
# shouldn't be moved into
Ticket => {
Queue => ['Junk', 'SPAM'],
},
},
};
Enjoy!
No comments:
Post a Comment