Roundcube Community Forum

 

Hide some options in settings from user

Started by jamil_isayyed, November 22, 2012, 03:47:24 AM

Previous topic - Next topic

jamil_isayyed

Hello All,

i have recently update my webmail to roundcube 0.8.4, when i checked the settings in it,  there is a lot of options that the user can change,
i need to restrict users from  changes all these values, so please any idea how i can do it??

i checked in the configration file main.inc.php, but i didn't find any way...

i appreciate your help :D

Thanks
Jamil Isayyed

SKaero

Add the settings you don't want users to change to the $rcmail_config['dont_override'] array in <RC root>/config/main.inc.php.

jamil_isayyed

thanks SKaero for Replaying,

i can not find this option of configration in the main.inc.php. is it available??

so i need to add like $rcmail_config['dont_override']  = array('obj1','obj2'), were obj1 and obj2 is the names of the configs that i do not want to override.??

and when i add this config option, is the property will also be shown in the settings panels or tabs??

Thanks,
BR,
jamil Isayyed

SKaero

Depending on how far you have updated RoundCube the $rcmail_config['dont_override'] may not appear in the config file but you should be able to add it. When you add the configuration options you don't want users to override to the array they will be hidden from the interface.

jamil_isayyed