ACL for Queue to Limit Available Services

Moderator: crythias

Locked
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

ACL for Queue to Limit Available Services

Post by tnieman »

We currently have an ACL to limit Services based on the CustomerID.

Notes on the code below:
Using OTRS for end clients and internal users
Internal users have their email address as the CustomerID (so that only they can see the tickets they submit).
Internal users shouldn't see the Service 1, Service 2, or Service 3

So we have:

Code: Select all

       $Self->{TicketAcl}->{'ACL-005-Service-Type'} = {
              Properties => {
                 Ticket => {
                   CustomerID => ['[RegExp]^*workforcesoftware.com'],   
             },
    
    
             PossibleNot => {
                     Ticket => {
                             Service=> ['Service 1','Service 2','Service 3'],
    
                     },
             },
         };
I'd like to change this to tie Services to Queues. What do I need to put in place of CustomerID to filter by Queue Name for the ticket? I tried Queue and QueueName, neither one worked.


Thanks for any help you can provide!

Tom
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ACL for Queue to Limit Available Services

Post by crythias »

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