Hi Nils

 

1.       Does the system pickup the new ACLs automatically or must one register the ACLs, or force it to be read? I can’t get mine to work.

2.       Can the ACL have any name, or should the names be specific?

 

My Queues are:

Billing System

Core Network

NOC

Radio Network

VAS Elements

 

My Service list has the following services:

Emergency Response

Notification

Routine Maintenance

Schedules Maintenance

 

I would like the ACL to only make service “Notification” available when a customer or agent selects Queue “NOC” for new tickets.

 

I have put my code just below the comment you mentioned. This is my code:

 

$Self->{TicketAcl}->{'ACL-Name-1'} = {

                                  Properties => {

                                     Ticket => {

                                                Queue = ['NOC'],

                                     },

                                  },

                                  Possible => {

                                    Ticket => {

                                      Service = ['Notification'],

                                    },

                                  },

                                  PossibleNot => {

                                    Ticket => {

                                                Service = ['Emergency Maintenance', 'Routine Maintenance', 'Scheduled Maintenance'],

                                                },          

                                  },            

                                };

 

 

At the moment I have not been able to get any ACL to work, so I would really appreciate your help.

 

Louis

 

 

From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Nils Leideck - ITSM
Sent: 31 May 2010 17:56
To: User questions and discussions about OTRS.
Subject: Re: [otrs] ACL

 

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

 

DISCLAIMER

This message is intended solely for the individual(s) and entity(s) to which it is addressed.  It is confidential and may contain legally privileged information.  Any unauthorized review, use, copying, storage, disclosure or distribution of this e-mail and any attachments is strictly prohibited.  If you are not the named recipient or have otherwise received this communication in error, please destroy this message from your system and kindly notify the sender by e-mail.