• 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.

Persons not in TWikiAdminGroup can create new webs. This should be locked down by default.

-- PTh

un-commented out set in WebPreferences

-- SD

This needs to be moved to TWiki.TWikiPreferences since anyone could copy the form in ManagingWebs to another web to cirumvent the web-level setting.

Also, better to lock down in Main.TWikiPreferences' FINALPREFERENCES.

On my dev, I still can create webs with ALLOWWEBMANAGE set in TWiki.TWikiPreferences, and me not in the admin group. Using template login. Puzzled.

-- PTh

Lavr mentioned this in IRC:

  • Setting ALLOWWEBMANAGE in TWiki.WebPreferences _has effect
  • Setting ALLOWWEBMANAGE in TWiki.TWikiPreferences has _no effect

Tested to be true on SVN 8669.

-- SP

Looking at the code, this seems to be intended behaviour, ALLOWWEBMANAGE is only checked pr. web(?).

/lib/TWiki/Access.pm, sub checkAccessPermission, ~line 190.

-- SP

svn:8670

--SD

Other current ACL errors reminded me of this one. Re-opening, normal / new.

Hope it can go into next minor, but setting it n/a as it has not been analyzed.

-- SP

ALLOWROOTMANAGE is used to control access to the root, IIRC. ALLOWWEBMANAGE only applies to the web.

Closing, as I don't believe any further follow-up is required. Please re-open with a testcase if you think otherwise.

CC

ItemTemplate
Summary Non-admin can create new webs
ReportedBy TWiki:Main.PeterThoeny
Codebase

SVN Range Sun, 29 Jan 2006 build 8586
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 8666 8668 8670
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-04-14 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback