|
ExampleSetupsOne-admin permission setupsSee section "Simple usage" in Cookbook.UserAuth2. Shared-administration setupsExample 1Assume we want to set up a site with some editors Then the following setup might do. The records are in the form
contentMask: (this is a user)
admin => xx_*.*,
-xx_PmWiki.*,
-xx_PmWikiDe.*,
-xx_Site.*,
-xx_MyWiki.*
ad,
cu,
eu,
ps
GuestUsers: (this is a group)
admin => rd_*.*,
-rd_Site.*,
rd_Site.SideBar,
rd_Site.MenuBar,
rd_Site.PageActions,
rd_Site.EditQuickReference,
rd_Site.UploadQuickReference,
rd_Site.PageListTemplates,
rd_Site.PageNotFound
LoggedInUsers: (this is a group)
admin => xx_MyWiki.{$AuthId},
pw
alice:
contentMask => ... (whatever you like alice to administer)
ad,
cu,
eu,
ps
bob:
contentMask => ... (whatever you like bob to administer)
ad,
cu,
eu,
ps
The trick is that, by deriving alice's and bob's permission record from the All logged in users may change their password ( Example 2Permission granting for bigger entities in connection with wild cards. See http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/42957/. |