Access Control Examples

Renaming topics and webs

Tested in Foswiki 1.1.4.

Assume:

  • A web called 'ExampleWeb'.
  • A user called 'AdminUser' who is a member of 'AdminGroup'.
  • A user called 'StandardUser' who is not a member of 'AdminGroup'.

Then modifying preferences in ExampleWeb.WebPreferences will result in the following behaviours:

Case 1

ALLOWWEBCHANGE = AdminUser
ALLOWWEBRENAME = AdminUser
ALLOWTOPICCHANGE = AdminUser

  • StandardUser cannot rename ExampleWeb.WebHome.
  • StandardUser cannot rename ExampleWeb itself.

Case 2

ALLOWWEBCHANGE = AdminUser, StandardUser
ALLOWWEBRENAME = AdminUser
ALLOWTOPICCHANGE = AdminUser

  • StandardUser can rename ExampleWeb.WebHome.
  • StandardUser cannot rename ExampleWeb itself.

Case 3

ALLOWWEBCHANGE = AdminUser
ALLOWWEBRENAME = AdminUser, StandardUser
ALLOWTOPICCHANGE = AdminUser

  • StandardUser cannot rename ExampleWeb.WebHome.
  • StandardUser cannot rename ExampleWeb itself.

Case 4

ALLOWWEBCHANGE = AdminUser, StandardUser
ALLOWWEBRENAME = AdminUser, StandardUser
ALLOWTOPICCHANGE = AdminUser

  • StandardUser can rename ExampleWeb.WebHome.
  • StandardUser cannot rename ExampleWeb itself.

Case 5

ALLOWWEBCHANGE = AdminUser, StandardUser
ALLOWWEBRENAME = AdminUser, StandardUser
ALLOWTOPICCHANGE = AdminUser, StandardUser

  • StandardUser can rename ExampleWeb.WebHome.
  • StandardUser cannot rename ExampleWeb itself.
Topic revision: r1 - 20 Sep 2012, AlexisHazell
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy