Author Topic: Disable "Server Settings" Tab in Settings  (Read 1660 times)

Offline PyroByte

  • Newbie
  • *
  • Posts: 1
Disable "Server Settings" Tab in Settings
« on: March 25, 2021, 08:03:07 AM »
Hello, how can i disable "Server Settings" tab under Settings menu? I would like to restrict users to touch those settings.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Disable "Server Settings" Tab in Settings
« Reply #1 on: March 26, 2021, 04:14:48 AM »
To disable an entire setting section you must add each of the settings in that section to dont_override.
Code: [Select]
$config['dont_override'] = ['read_when_deleted', 'flag_for_deletion', 'skip_deleted', 'delete_junk', 'logout_purge', 'logout_expunge'];
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦