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
TWiki06x01 ...       TWikiAdminGroup   TWikiAdminGroup
Blog ...     TWikiGuest     TWikiAdminGroup, VickiBrown
Codev ...     TWikiGuest     TWikiCommunityGroup
Plugins ...           TWikiCommunityGroup
Sandbox ...           TWikiCommunityGroup
Support ...           TWikiCommunityGroup
TWiki ...     TWikiGuest     TWikiAdminGroup
TWiki01 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki02 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki03 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki04 ...       TWikiAdminGroup, CrawfordCurrie   TWikiAdminGroup
TWiki04x01 ...       TWikiAdminGroup    
TWiki04x02 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki04x03 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki05x00 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki05x01 ...       TWikiAdminGroup   TWikiAdminGroup
TWiki06x00 ...       TWikiAdminGroup   TWikiAdminGroup
WikiWed ...            

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.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.TWikiPresentation2009x12x03
Codev.TWikiPresentation2010x02x25
Codev.TWikiPresentation2010x08x17
Codev.TWikiPresentation2013x01x17
Codev.TWikiPresentation2015x11x21
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.ReadSynonymTest
Sandbox.SheeTal
Sandbox.SynonymList
Sandbox.WikiWordDemo
Support.AccessControlProblem
Support.AskSupportQuestion
Support.AuthenticationScenarioForExample
Support.SID-01536
Support.SelectiveWebLeftBar
Support.WebPreferences
Support.WhyIsChangeAccessDenied
TWiki.DistributionDocComments
TWiki.InterSiteLinkRules
TWiki.TWikiCodeOfConduct
TWiki.TWikiPrivacyStatement
TWiki.TWikiRegistration
TWiki01.WebPreferences
TWiki02.WebPreferences
TWiki03.WebPreferences
TWiki04.PatternSkinCustomization
TWiki04x01.PatternSkinCustomization
TWiki04x01.UserCommentsTemplate
TWiki04x02.UserCommentsTemplate
TWiki04x03.UserCommentsTemplate
TWiki05x00.UserCommentsTemplate
TWiki05x01.UserCommentsTemplate
TWiki06x00.UserCommentsTemplate
TWiki06x01.UserCommentsTemplate

-- SueLocke - 28 Jul 2005

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-07-29 - SueLocke
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.