Question
I've just finished installing twiki for an intranet and have 8 webs. I'm using external authentication (i.e. apache) and everything in that realm is working fine. However, none of the access controls for "view" are working. Both Topic and Web view access is not being honoured... anybody have ideas on how I can debug this? I should note that change access controls are working. As an example... I have a web SISTeam/Internal... webpreferences include:
* Set ALLOWWEBVIEW = SISTeamGroup
* Set ALLOWWEBCHANGE = TWikiAdminGroup, SISTeamGroup
and
* Set ALLOWWEBRENAME = TWikiAdminGroup, SISTeamGroup...
but as a non-SISTeamGroup user I can view the web and it's contents. I have also seen this if I add Set ALLOWTOPICVIEW = someGroup to a topic... it is still viewable.
I can forward configure to those that need it for more information.
Environment
--
RamonKagan - 13 Nov 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
What scripts require authentication? If you do not require valid user for the view script and you do no session tracking there is no way for TWiki to know who the user is in view, e.g. an authenticated user in the edit script is seen as TWikiGuest by the view script. See
TWikiUserAuthentication for various options.
--
PeterThoeny - 14 Nov 2006
HI,
attach,edit,manage,rename,save,upload,viewauth,rdiffauth are in the configure for requiring authentication. I require a valid user using "RemoteUser" for everything in this deployment.
Sessions are enabled, and I have verified that
RamonKagan is being set correctly.
It seems that ALLOWTOPICVIEW is working, seems if you don't put the three spaces and * the Set command is ignore... that is my bad on still learning twiki. However, the ALLOWWEBVIEW in the web preferences pages is not working. BTW, when you deny web view does that mean the web doesn't show in the left bar or that attempt to access the web they would be denied. I gather it is the latter, but want to make sure.
--
RamonKagan - 15 Nov 2006
It works, honest

If a user is caught by DENYWEBVIEW the web will not be listed in the left bar.
--
CrawfordCurrie - 21 Nov 2006
Ok, but I'm not using DENYWEBVIEW since the list of "ALLOW" is like 50 times smaller than "DENY". So I guess the question is... does the rule "If ALLOWWEB is set to a list of wikinames
* people in the list will be PERMITTED
* everyone else will be DENIED"
actually work? That's the situation I'm faced with.
--
RamonKagan - 22 Nov 2006
Yes, it works.
--
CrawfordCurrie - 16 Dec 2006