Access to themes and localizations
You can restrict access to control panel themes and localizations. Access settings to the themes are contained in the file /usr/local/mgr5/etc/access.theme, access settings to localizations — in the file /usr/local/mgr5/etc/access.lang.
To allow access to the theme or localization, add a string in the following format to the corresponding file:
allow <theme or localization name>
To deny access to the theme or localization, add a string in the following format to the corresponding file:
deny <theme or localization name>
For example, to allow access only to the orion theme, create an access.theme file in the following format:
Example of access.theme file
allow orion
deny *
To allow access only to Russian and English localization, create an access.lang file in the following format:
Example of access.lang file
allow ru
allow en
deny *