Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins:  
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Permissions

-- DaveAtkins - 26 Jun 2007

Answer

ALERT! 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.

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

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-08-23 - DaveAtkins
 
  • 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.