• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Problematic Values for FINALPREFERENCES in Distribution

The 4.1.2 distribution doesn't prevent setting {ALLOW,DENY}ROOTCHANGE in Web- or topic-preferences. Also some FINALPREFERENCES assignments have old and (supposedly unsupported) values.

Namely, the FINALPREFERENCES assignment in Main.TWikiPreferences has ALLOWWEBMANAGE, which, AFAIU, doesn't exist any more. Instead, ALLOWROOTCHANGE and DENYROOTCHANGE should be listed there -- currently there is no FINALPREFERENCES entry for *ROOTCHANGE* anywhere in the distribution. (The missing *ROOTCHANGE entries make the priority of this bug report Normal, IMO; otherwise it would have been Low.)

Similarly, TWiki.WebPreferences has ALLOWWEBMANAGE and DENYWEBMANAGE, which should also be discarded as well. Probably it would be good to add DENYWEBRENAME and ALLOWWEBRENAME instead, as it is done in _default.WebPreferences.

-- TWiki:Main.JoachimSchrod - 28 Apr 2007

Confirmed. Elevating to urgent, as it's something that needs a full and careful audit, and we can't let another release go without one. Users have been bitten many times by FINALPREFERENCES, especially when dealing with subwebs.

I set the list in Main.TWikiPreferences to

    • Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, TWIKILAYOUTURL, TWIKISTYLEURL, TWIKICOLORSURL, USERSWEB, SYSTEMWEB, DOCWEB
Anyone got any better ideas?

CC

ItemTemplate
Summary Problematic Values for FINALPREFERENCES in Distribution
ReportedBy TWiki:Main.JoachimSchrod
Codebase 4.1.2
SVN Range

AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:13967
TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback