WebPreferences Settings are not overridden!
if a %VALUE% is defined in a parent Web a SubWeb will not be able to override this setting but documentation says this:
Example Preference Inheritance for Sandbox/TestWeb/SubWeb.SubWebTopic
topic:
-
TWiki.TWikiPreferences
site-wide preferences
-
Sandbox.WebPreferences
inherits from and overrides settings in TWiki.TWikiPreferences
-
Sandbox/TestWeb.WebPreferences
inherits from and overrides settings in Sandbox.WebPreferences
-
Sandbox/TestWeb/SubWeb.WebPreferences
inherits from and overrides settings in Sandbox/TestWeb.WebPreferences
-
Sandbox/TestWeb/SubWeb.SubWebTopic
inherits from and overrides settings in Sandbox/TestWeb/SubWeb.WebPreferences
So the Twiki Authorisation does not work too.
--
TWiki:Main/RicardoDonner
- 14 Jul 2008
I have tested this and it does work.
I can define a variable in WebPreferences of a root web and see the value in a subweb.
And I can overwrite the same variable in the WebPreferences of the subweb.
When it comes to access rights then it is because you have missed an important point in the documentation.
Look at the root web at the bottom. Here you find
Set FINALPREFERENCES = NOSEARCHALL, ATTACHFILESIZELIMIT, WIKIWEBMASTER, WEBCOPYRIGHT, WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME
This is important. It is a FEATURE that a preference which is set final cannot be overwritten lower down the stream of access rights.
So if you want to be able to override access rights in a subweb you need to remove the corresponding preference from the FINALPREFERENCES in the parent web.
This is documented.
--
KennethLavrsen
- 14 Jul 2008
ok
--
TWiki:Main.RicardoDonner
- 14 Jul 2008