
Hi, On 31.05.2010, at 16:16, Louis Becker wrote:
I would like to limit the values in the dropdown when tickets are created. I added the code below to /use/share/otrs/Kernel/config.pm, but it did not have any effect.
$Self->{TicketAcl}->{'ACL-Name-1'} = { Properties => { Ticket => { Queue = ['NOC'], }, }, Possible => { Ticket => { Service = ['Notification'], }, }, };
Some questions: · My config.pm file has 3 sections (I am not a perl expert, just started learning) one that starts with “BEGIN”, one that starts with “sub Load” and a bit that starts with use strict; In which part should the ACLs go? · Should ACLs be enabled in the SysConfig somehow?
Your ACL should go somewhere below: # ---------------------------------------------------- # # insert your own config settings "here" # # config settings taken from Kernel/Config/Defaults.pm # # ---------------------------------------------------- # Please keep in mind that ACLs are not working for the user “root@localhost” ;-)) Freundliche Grüße / Kind regards Nils Leideck -- Nils Leideck Senior Consultant nils.leideck@leidex.net nils.leideck@otrs.com http://webint.cryptonode.de / a Fractal project