Restricting access to panel localizations
Why?
In case there is a need to restrict access to language selection in the control panel.
Instructions
To restrict panel users' access to localizations, add the directives allow
and deny
to the configuration file /usr/local/mgr5/etc/access.lang
(the file will have to be created). The directives open and close access to certain languages, respectively.
For example, to allow access to Russian and English localizations only, the contents of the file should be the following:
allow ru
allow en
deny *
After making the changes, restart the panel using the command:
/usr/local/mgr5/sbin/mgrctl -m ispmgr exit