ACL Issue

Moderator: crythias

Locked
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

ACL Issue

Post by srivatsatatti »

When customer creates a ticket to say queue1. I want to control that agents should move only to Queue2.

here is my acl

Code: Select all

$Self->{TicketAcl}->{'ACL-Name-1'} = {
# match properties
Properties => {
# current ticket match properties
Ticket => {
Queue => [Queue1'],
}
},
#return possible options
Possible => {
# possible action options
Ticket => {
Queue => [Queue2l'],
},
Action => {
AgentTicketClose => 0,
AgentTicketNote => 1,
AgentTicketMove => 1,
AgentTicketOwner => 0,
AgentTicketCustomer => 0,
},
},
};
But while creating ticket, if i select Queue1, it shows only Queue2 (after ajax reload).
Guess the ACL is running while creating ticket as well which should have been run after creation of ticket.
Any idea on this?
Testing on 3.1.5
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ACL Issue

Post by crythias »

Your encounter seems appropriate. It's doing exactly what you told it to do (not what you want) ...
You might be able to use the Frontend parameter (see docs) to help.

Code: Select all

 Properties => {
            # current action match properties
            Frontend => {
                Action => ['AgentTicketPhone', 'AgentTicketEmail'],
            },
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked