Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 103 to 103 | ||||||||
But this is not enough. To guarantee a certain result, you need to finalise critical preferences variables set at the web or topic level, which is cumbersome. | ||||||||
Changed: | ||||||||
< < | So preferences variables DENYUSERPREFEENCES and ALLOWUSERPREFEENCES have been introduced.
| |||||||
> > | So preferences variables DENYUSERPREFEENCES and ALLOWUSERPREFERENCES have been introduced.
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
For example, if you don't allow overriding at the user level at all:
* Set DENYUSERPREFERENCES = all | ||||||||
Line: 120 to 120 | ||||||||
* Set DENYUSERPREFERENCES = TINYMCEPLUGIN_DISABLE, SKIN | ||||||||
Changed: | ||||||||
< < | Please note DENYUSERPREFEENCES and ALLOWUSERPREFEENCES affect user preferences regardless of $TWiki::cfg{DemoteUserPreferences} . | |||||||
> > | Please note DENYUSERPREFEENCES and ALLOWUSERPREFERENCES affect user preferences regardless of $TWiki::cfg{DemoteUserPreferences} . | |||||||
You can set those variables at the site level while $TWiki::cfg{DemoteUserPreferences} setting to false. | ||||||||
Changed: | ||||||||
< < | If you do so, you should finalise DENYUSERPREFEENCES and ALLOWUSERPREFEENCES . | |||||||
> > | If you do so, you should finalise DENYUSERPREFEENCES and ALLOWUSERPREFERENCES . | |||||||
Otherwise, they might be overridden by user preferences. | ||||||||
Changed: | ||||||||
< < | You will get the most benefit of DENYUSERPREFEENCES and ALLOWUSERPREFEENCES by setting $TWiki::cfg{DemoteUserPreferences} to true. | |||||||
> > | You will get the most benefit of DENYUSERPREFEENCES and ALLOWUSERPREFERENCES by setting $TWiki::cfg{DemoteUserPreferences} to true. | |||||||
That way, each web can specify how much user level preferences overriding is allowed. |