Question
How do I set up the Access permissions for a web so that anyone can browse, but when they try to edit a topic, it prompts them to login first?
I tried this:
* Set DENYWEBVIEW =
* Set ALLOWWEBVIEW =
* Set DENYWEBCHANGE =
TWikiGuest
* Set ALLOWWEBCHANGE =
* Set DENYWEBRENAME =
* Set ALLOWWEBRENAME =
But it just gives an access denied message if the user clicks edit before logging in.
Environment
--
DaveAtkins - 26 Jun 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
I believe on my webs I have the DENY statements commented out, and the ALLOWs have a list of specific groups that are able to edit etc. This would of course require that all your users be added to some group(s). The only thing else I can think of is to alter the behavior of the system that checks permissions. Although I really don't know how that works without diving into the docs. Good luck.
--
MatthewCardozo - 26 Jun 2007
I think i set mine in the configure part.
bin/configure in the url instead of bin/view/[Web], etc.
--
GrazianoMisuraca - 26 Jun 2007
Yes, I could explicitly allow groups, but then I have to manually add users into those groups. There should be a group that all new users are added to by default. There should not be a
TWikiGuest user at all.
--
DaveAtkins - 26 Jun 2007
The
Set DENYWEBCHANGE = Main.TWikiGuest setting is correct. In configure, make sure to set
viewauth to one of the scripts that require auth.
--
PeterThoeny - 12 Aug 2007
I double checked and yes, viewauth is listed in the configure settings list...and the line above is in the web preferences. What happens is the user gets redirected to a screen that says "Access Denied" Try editing this page and you will see what I mean:
http://westwoodwiki.org/twiki/bin/view.pl/Westwood/WebHome
OH! Do I need to make those scripts have the .pl extensions on them???? YES! Problem solved!
--
DaveAtkins - 23 Aug 2007