N°3936 - Add config parameter to disable theme selection in the user preferences ("user_preferences.allow_backoffice_theme_override")

This commit is contained in:
Molkobain
2021-04-09 09:01:33 +02:00
parent 0bc9aed3fe
commit d6695d3ad8
3 changed files with 17 additions and 3 deletions

View File

@@ -1287,6 +1287,14 @@ class Config
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'user_preferences.allow_backoffice_theme_override' => [
'type' => 'bool',
'description' => 'Whether the user can choose which theme to use in the backoffice. If set to false, all users will have the theme defined in "backoffice_default_theme"',
'default' => true,
'value' => '',
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'secure_rest_services' => [
'type' => 'bool',
'description' => 'When set to true, only the users with the profile "REST Services User" are allowed to use the REST web services.',