Include ACL on Config.pm
Moderator: crythias
Include ACL on Config.pm
Anyone know if it is possible to include within the Config.pm ACL?
I'm generating ACLs, and would like to organize files and perform in an include these files in Config.pm
Thx..
I'm generating ACLs, and would like to organize files and perform in an include these files in Config.pm
Thx..
-
- Znuny superhero
- Posts: 631
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: Include ACL on Config.pm
You may include it only in Config.pm if you need it works. See manual - chapter 18
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Re: Include ACL on Config.pm
all files in Kernel/Config/Files are includes outomatically.
So you can add a file ACL.pm containing your ALCs.
The file needs to end with the line
So you can add a file ACL.pm containing your ALCs.
The file needs to end with the line
Code: Select all
1;
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Include ACL on Config.pm
That was exactly what I needed. Thank you.
Is there a limit to the amount of ACL? I'm automating my ACLs, and I already have a file with over 10,000 rows rsrsrsrs
Believes it can make heavy?
Is there a limit to the amount of ACL? I'm automating my ACLs, and I already have a file with over 10,000 rows rsrsrsrs
Believes it can make heavy?
Re: Include ACL on Config.pm
no, there is no limit. Just difficult to read and might slow down some actions in OTRS
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Include ACL on Config.pm
Hello,
it's not working for me. Writing acl settings into config.pm or a sperate .pm file and performing Maint::Config::Rebuild has no effect, i dont see acl in web gui. I tried Otrs 5.026 and 6.04. What am I doing wrong?
it's not working for me. Writing acl settings into config.pm or a sperate .pm file and performing Maint::Config::Rebuild has no effect, i dont see acl in web gui. I tried Otrs 5.026 and 6.04. What am I doing wrong?
Re: Include ACL on Config.pm
You have to create the ACL in the webinterface (and please don't hijack old threads as this one is more than 5 years old and for another OTRS version)
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Include ACL on Config.pm
Sorry for using this old thread but the subject fits!
In every documentation there is this part:
If it's not possible that should be changed.
In every documentation there is this part:
see: http://doc.otrs.com/doc/manual/admin/st ... n.html#aclACLs can be directly entered into the Kernel/Config.pm file. However this is not any more recommended as OTRS comes now with a GUI Access Control Lists in the Admin panel that allows to save the ACLs in the Database as the first step and then deploy them into a file when they are ready.
If it's not possible that should be changed.
Re: Include ACL on Config.pm
it is still possible but they will not show up in the Web GUI. So the documentation is valid. Also if you want to suggest a change on the documentation please create a pull request here https://github.com/OTRS/doc-admin
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com