ACL to move a ticket to predifined queue

Moderator: crythias

Locked
emgin
Znuny newbie
Posts: 3
Joined: 25 Mar 2014, 12:37
Znuny Version: 3.3.3
Real Name: Emile Van Ginderachter
Company: Gemeente Dilbeek

ACL to move a ticket to predifined queue

Post by emgin »

Hello,

I tried to create an ACL to move the tickets to their respective Queue. (tickets created in customer.pl)

Tickets created by customers where the email ends with ..@ocmxxx.be should move to the queue OCM - XXX
Can also be used as criteria 'UserCustomerID', 'CustomerID', is equal to OCMXXX should move to the same queue

This is the result of the ACl I created in the graphical interface.

$Self->{TicketAcl}->{"Move_Ticket_to_Queue"} = {
'Possible' => {
'Ticket' => {
'Queue' => [
'OCM - XXX'
]
}
},
'PossibleNot' => {},
'Properties' => {
'CustomerUser' => {
'Email' => [
'[regexp].*@ocmxxx.be'
]
}
},
'PropertiesDatabase' => {},
'StopAfterMatch' => 0
};

I also used UserEmail in stead of Email
What's wrong with this ACL?

We're using OTRS 3.3.3 on Windows 2008 server with IIS and MySQL.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ACL to move a ticket to predifined queue

Post by crythias »

acl is permission. It doesn't do anything.
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
seberget2
Znuny newbie
Posts: 74
Joined: 17 May 2013, 09:30
Znuny Version: 6.0.30
Real Name: Stein Erik Berget

Re: ACL to move a ticket to predifined queue

Post by seberget2 »

Look at GenericAgent and trigger it by an event (ticket created I think). Thatbshould help you.
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two :-D
emgin
Znuny newbie
Posts: 3
Joined: 25 Mar 2014, 12:37
Znuny Version: 3.3.3
Real Name: Emile Van Ginderachter
Company: Gemeente Dilbeek

Re: ACL to move a ticket to predefined queue

Post by emgin »

What do you mean with permission?

The customer belongs to the group that has RW access to the predefined queue.

Or is exe permissions on ZZZACL.pm or other files...

I also Checked the OTRS administration manual and didn't find any information on ACL and permissions.

Do you have some hints?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ACL to move a ticket to predifined queue

Post by crythias »

if you want to move incoming tickets from @domain.com to a queue, use a postmaster filter.

But don't use customer based queues anyway.
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
emgin
Znuny newbie
Posts: 3
Joined: 25 Mar 2014, 12:37
Znuny Version: 3.3.3
Real Name: Emile Van Ginderachter
Company: Gemeente Dilbeek

Re: ACL to move a ticket to predifined queue

Post by emgin »

We're using postmaster filters for more than one Year and works very good. Will this also work for tickets created by the customer.pl interface in the postmaster queue?
Customers use the web interface because the are interested in FAQ and the follow up of their own and group tickets.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ACL to move a ticket to predifined queue

Post by crythias »

emgin wrote:Will this also work for tickets created by the customer.pl interface in the postmaster queue?
No. Because anything you'd filter after submit (Postmaster Filters are after email is "sent") should be filtered before submit (don't allow customers to do what you don't want them to do).
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