We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

For Example : Structuring a public twiki to include a private web(s)

This topic is linked to : AuthenticationScenario

Overview

A twiki setup might have:

  • an entry web - with WebHome as the page where people come in from the common URL. You might have some orientation and welcome type pages here. Typically this is the Main web but you can make any web the entry web. Your entry web would be open to viewing by all (that is no restrictions set in the WebPreferences topic of the web) but you might have some pages restricted from editing with an access control setting on the relevant pages such as the WebHome page. To restrict from editing would involve you having one or more TWikiGroups set up for people who have write privileges for the topic(s). For example overall structural pages such as WebHome might be be able to be edited by TWikiAdminGroup only. You could include a link to the private page on the entry web (nav bar or home page) but just add a note about it being for a certain group only - the equivalent of telling Joe or Anne Anyone that this isn't for her/him. Even if they try to access that web after being logged in for their ordinary privileges they will get an access denied oops message if they try to access the private web.

  • public webs within which certain pages are restricted either from editing or from viewing by using the relevant access control setting for specified user groups on restricted pages. The allowtopicchange setting works well. The allowtopicview setting works fine on individual pages although the oops message leaves a lot to be desired. You also need to make sure that the page is restricted from view right from the start as there is a hole in the Total page history that lets people parts of the page from previous versions that weren't restricted from view.

  • private webs - require an allowtopicview setting for the authorised group to be set on the WebPreferences topic for the relevant web. You can only then get into that web if your TWiki name has been added to the group with access privileges. See AuthenticationScenario for further information on restricting a private web from the site map and a search all action.

Recording Access Permissions

Keeping track of access permissions can be really time-consuming. MartinCleaver created a search statement that lets you see what has been set all on one page (and possibly this feature is being incorporated into Dakar?). Here it is (just adapt the second search statement for access groups that you wish to recod) :

Web VIEW CHANGE RENAME
DENY ALLOW DENY ALLOW DENY ALLOW
Main ...           TWikiCommunityGroup
TWiki04x02 ...       TWikiAdminGroup   TWikiAdminGroup
Blog ...       TWikiCommunityGroup   TWikiAdminGroup, VickiBrown
Codev ...       TWikiCommunityGroup   TWikiCommunityGroup
Plugins ...       TWikiCommunityGroup   TWikiCommunityGroup
Sandbox ...           TWikiCommunityGroup
Support ...           TWikiCommunityGroup
TWiki ...       TWikiCommunityGroup   TWikiCommunityGroup
TWiki01 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki02 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki03 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki04 ...       TWikiAdminGroup, CrawfordCurrie   TWikiAdminGroup
TWiki04x01 ...       TWikiAdminGroup    

Topics with Twiki admin group only access permissions

Web and Topic:
Codev.BasicForm
Codev.BugReportTopicTemplate
Codev.BugTracking
Codev.ChangeProposalForm
Codev.CodeRefactorTopicTemplate
Codev.CurrentState
Codev.DevTypeForm
Codev.DocRequestTopicTemplate
Codev.FeatureRequestTopicTemplate
Codev.NewBugTemplate
Codev.ReasonForDecision
Codev.Release
Codev.SecurityAlertGainAdminRightWithTWikiUsersMapping
Codev.StructuredWikiPresentation20Jun2005
Codev.TWikiPresentation05Aug2004
Codev.TWikiPresentation07Jan2004
Codev.TWikiPresentation11Aug2005
Codev.TWikiPresentation17Feb2005
Codev.TWikiPresentation2006x04x05
Codev.TWikiPresentation2006x04x25
Codev.TWikiPresentation2007x10x22
Codev.TWikiPresentation2008x08x21
Codev.TWikiPresentation20May2003
Codev.TWikiPresentation21Jan2004
Codev.TWikiPresentation23Oct2003
Codev.TopicClassification
Codev.WebForm
Codev.WebPreferences
Main.PeterThoenySlideShowTemplate
Main.TWikiInstallationForm
Main.WebPreferences
Plugins.AutoNavigationPlugin
Plugins.WebPreferences
Sandbox.BasicForm2
Sandbox.CallCenterStatusBoard
Sandbox.CallCenterStatusBoardV2
Sandbox.CallCenterStatusBoardV3
Sandbox.ChangeProposalForm
Sandbox.MogStapletonSandbox
Sandbox.RandomTestTopic18592
Sandbox.ReadSynonymTest
Sandbox.SheeTal
Sandbox.SynonymList
Sandbox.TestAllowOnlyTWikiAdminGroup
Sandbox.Typenewtopicnamehere
Sandbox.WikiWordDemo
Support.AccessControlProblem
Support.AuthenticationScenarioForExample
Support.SelectiveWebLeftBar
Support.WebPreferences
Support.WhyIsChangeAccessDenied
TWiki.DistributionDocComments
TWiki.InterSiteLinkRules
TWiki.PatternSkin
TWiki.PatternSkinCustomization
TWiki.TWikiCodeOfConduct
TWiki.TWikiPrivacyStatement
TWiki.TWikiRegistration
TWiki.WebPreferences
TWiki01.WebPreferences
TWiki02.WebPreferences
TWiki03.WebPreferences
TWiki04.PatternSkinCustomization
TWiki04x01.PatternSkinCustomization
TWiki04x01.UserCommentsTemplate
TWiki04x02.UserCommentsTemplate

-- SueLocke - 28 Jul 2005

Topic revision: r3 - 29 Jul 2005 - 01:46:21 - SueLocke
Support.AuthenticationScenarioForExample moved from Support.ForExample on 29 Jul 2005 - 01:46 by SueLocke - put it back
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback