
Excellent! Not only advice where to place config files, but also good example of writing ACLs! Thanks again, Nils! On Tue, Jan 26, 2010 at 10:37 PM, Nils Leideck - ITSM < nils.leideck@leidex.net> wrote:
Hi,
On 26.01.2010, at 10:43, Михаил Лукин wrote:
A number of basic ACLs is what we need most of the time. As I understand, simple ACL is just Perl dictionary of dictionaries (they are called "dictionaries" in Python, in Perl it is maybe Hash or smth like this, I don't remember).
For example, I need to limit choices of SLAs and Priorities by customer department or title (customer data is in LDAP), and it's gonna be a lot of similar and very simple ACLs.
On another hand, I would be completely satisfied if I could place those ACLs somewhere out of Config.pm (f.e. CustomConfig01.pm for ACLs, CustomConfig02.pm for backends and so on).
On Tue, Jan 26, 2010 at 12:26 PM, Shawn Beasley
wrote: Hi Mihail,
On Jan 26, 2010, at 10:17 , Михаил Лукин wrote:
There is a nice example of editing ACL via Sysconfig (Ticket -> Core::TicketACL) Is there an OTRS package or something else to allow Add/Edit new ACLs via web interface (Sysconfig)?
Unfortunately, not currently. It should be easy to implement a static number of basic configurable ACLs. Due to the complexity, it makes it harder to implement this in its full power.
I am sure there will be a Sysconfig Group which does allow ACL configuration, it should be very easy.
However, currently you can remove the ACLs from Config.pm, actually as everything else, by saving a new file (e.g. ACL.pm) in $OTRS_HOME/Kernel/Config/Files/ Just make sure the syntax is ok. Im my cases i just copy the ZZZAuto.pm basic structure and put in the ACLs that I want to be active.
My current ACL.pm file is attached and is working but not tested in production environments yet.
Nils Leideck
-- Nils Leideck Senior Consultant
nils.leideck@leidex.net nils.leideck@otrs.com
http://webint.cryptonode.de / a Fractal project
CU @ CeBIT 2010 in Hannover, Germany http://www.cebit.de and get to know more about OTRS at booth no. C37 in hall 2 from March 2-6, 2010!
--------------------------------------------------------------------- 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/
-- regards, Mihail