How To use ACL to show specific services for a Queue

Dont create your support topics here! No new topics with questions allowed!

Moderator: crythias

Forum rules
Dont create your support topics here! No new topics with questions allowed!
Post Reply
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

How To use ACL to show specific services for a Queue

Post by crythias »

This isn't mine, but it's been asked, so I'm placing it in HowTos for posterity.

Let's say you have different departmental queues. (Printing, Plumbing, Maintenance, Computers)

Your customers (employees?) might want to submit a request to Plumbing, but they have services attached like "Word", or "Monitor", or "Toilets". How do you make sure that the Plumbing people only get tickets for services related to Plumbing?
Make an ACL and place it in Config.pm:

Code: Select all

$Self->{TicketAcl}->{'ACL-Plumbing-or-something-descriptive'} = 
{
                     # match properties
   Properties => {

        Queue => { Name => ['Plumbing', 'Optional::Other::SubQueue'], },
   },

   Possible => {
        Ticket => { Service  => ['toilet', 'sink', 'tub'],
                  },
   },
};
Read more: http://doc.otrs.org/3.0/en/html/acl.html
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
FiL
Znuny newbie
Posts: 69
Joined: 13 Jul 2010, 18:02
Znuny Version: 2.4.7

Re: How To use ACL to show specific services for a Queue

Post by FiL »

Yes like this

Code: Select all

        # match properties
        Properties => {
            # current ticket match properties
            Ticket => {
                Queue => ['Raw'],
                Priority => ['5 very high'],
            }
Dev
OTRS-Version: 3.1.7
System: Ubuntu Linux

Prod
OTRS-Version 3.0.9
System: Ubuntu Linux
Post Reply