Thank you. Found it on the dev list... I wouldn't have figured the correct 
syntax for the ACL if not were for the list...

http://www.mail-archive.com/d...@otrs.org/msg02038.html

Basically I created all services, then for each Queue I filtered which services 
should NOT be displayed...

Here is how to configure the ACL in Config.pm so when a Customer selects a 
Queue, certain services are not displayed:

# ticket acl
    $Self->{TicketAcl}->{'ACL-Name-20'} = {

        # Match properties
        Properties => {

            Queue => {
                Name => ['Database Team'],
                },

        },
        # Set which Options are not possible (black list)
        PossibleNot => {
            
            Ticket => {
                Service => ['Internet', 'Email', 'Folder Shares'],
            },

        },

    };


I should point out that when reading the ACL documentation I felt I would have 
to do Properties=>Ticket=>Queue in the match properties section, which I tried 
but that didn't work (and I found out at least someone else in the OTRS user 
list that said he tried that syntax to not avail). It has to be done like above.

By the way, it looks like you can also do PossibleNot=>Ticket=>Service=> 
['[RegExp]^Database'] and it should match any service that begins with 
Database... should make things simpler if the right names for the services are 
chosen.

Thanks.

Guillermo

-----Original Message-----
From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of Tomasz 
Dabrowski
Sent: Friday, August 07, 2009 1:52 AM
To: otrs@otrs.org
Subject: Re: [otrs] Queue <> Services relationship

 Yes, you can do it using ACL. Pls search list's archive.

Tomasz

> Hello,

> So, I still haven't figure out this one yet... So I'm assuming it is not
possible, but I thought I will ask again one more time...

Is it possible to limit the options under "Service" field when a user is
creating a ticket based on what the user selected on the "To:" field?

For example, if the user select To: Network Team, then he will get the
services: Internet, Email, Folder Shares. But if he select To: Database
Team, then we he goes to select a service he will see: Database, Student
Database.

I'm running OTRS 2.4.2 and ITSM 1.3

Thanks....



---------------------------------------------------------------------------------------
Cetelem Bank S.A.
ul. Kijowska 1, skr. poczt. 276
00-987 Warszawa
Sąd Rejonowy w Warszawie - XIII Wydział KRS pod nr KRS 0000221121- NIP: 
113-25-17-083 - REGON: 015823773. Kapitał zakładowy w wysokości 178.930.000 
złotych całkowicie wpłacony.

This message and any attachments (the "message") is intended solely for the 
addressees and is confidential. If you receive this message in error, please 
delete it and immediately notify the sender. Any use not in accord with its 
purpose, any dissemination or disclosure, either whole or partial, is 
prohibited except formal approval. The internet can not guarantee the integrity 
of this message.
Cetelem Bank S.A. shall (will) not therefore be liable for the message if 
modified.

Ta wiadomość i jakiekolwiek załączniki do niej dołączone (dalej "wiadomość") są 
przesłane do wyłącznej wiadomości adresatów i są poufne. Jeśli otrzymał 
Pan/Pani tą wiadomość przez przypadek prosimy o skasowanie jej i powiadomienie 
nadawcy. Jakiekolwiek nieuprawnione użycie wiadomości, rozpowszechnienie lub 
ujawnienie w części lub w całości jest zabronione poza przypadkiem uzyskania 
formalnej zgody nadawcy. Internet nie gwarantuje integralności wiadomości.
Cetelem Bank S.A. nie bierze odpowiedzialności za tą wiadomość, jeśli została 
ona zmodyfikowana.

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to