Roundcube Community Forum

 

Disable "Server Settings" Tab in Settings

Started by PyroByte, March 25, 2021, 08:03:07 AM

Previous topic - Next topic

PyroByte

Hello, how can i disable "Server Settings" tab under Settings menu? I would like to restrict users to touch those settings.

JohnDoh

To disable an entire setting section you must add each of the settings in that section to dont_override.
$config['dont_override'] = ['read_when_deleted', 'flag_for_deletion', 'skip_deleted', 'delete_junk', 'logout_purge', 'logout_expunge'];
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...