Dynamic Ticket Template and ACL

Moderator: crythias

Locked
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Dynamic Ticket Template and ACL

Post by EXG133 »

Hey,

we are using the Dynamic Ticket Template feature addon. I would like to use an ACL to restrict the list of possible templates for certain user groups.

I have experimented with 'TemplateID', 'Template' but can't seem to be able to restrict this field. Any ideas?

Code: Select all

# ticket acl
$Self->{TicketAcl}->{'200-TFS-Template'} = {
    # match properties
    Properties => {
        # the logged in agent
          User => {
                UserLogin => ['exg615'],
                    # ...
                },
        },
    # return possible options (black list)
        PossibleNot => {
        # possible ticket options (black list)
        Ticket => {
            Template => ['[RegExp]TFS'],
            # ...
        },
    },
};
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Dynamic Ticket Template and ACL

Post by jojo »

read the documentation or open a ticket.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: Dynamic Ticket Template and ACL

Post by EXG133 »

Feedback regarding this from OTRS: it's not possible.

Just in case someone was waiting for a solution to appear here...
Locked