Tags:
create new tag
, view all tags

Question

I want to change the guest user from GuestUser to Anonymous and set readonly permissions for that user. Anonymous is the default user I get in our environment, when not authenticated automatically via kerberos on windows. On Edit I want to redirect the Anonymous User to a loginform.

  • Any hints how to globally set a user readonly - without having to edit all WebPreferences?
  • Any hints how to redirect this specific user on edit?

Environment

TWiki version: TWikiRelease04x02x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SLES
Web server: Apache
Perl version: 5.8
Client OS: Win / Linux
Web Browser:  
Categories: Permissions, Authorisation, Skin

-- CedricWeber - 02 Sep 2008

Answer

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

The name of the guest user is configured in {DefaultUserWikiName} which is an expert setting, default=TWikiGuest. In the configure application, it says, "You are recommended not to change this": I don't know why.

To give it read-only access, simply do not assign that user to a group that has write access. See TWikiAccessControl for more information.

The user will automatically be prompted for logon when selecting edit (or, automatically logged on, if you have SSO).

If you set that access in Main.TWikiPreferences, you will not have to set it in each web.

-- SeanCMorgan - 02 Sep 2008

Thanks for the reply. What you explain is just what I did, but that doesn't seem to work out. I have "SSO". All "unknown" users are automatically signed in as AnonymousUser, but I do not want anonymous edits. A Set DENYWEBCHANGE = AnonymousUser in TWikiPreferences does not seem to work. There is nothing configured in WebPreferences, and I also tried a #Set DENYWEBCHANGE = to be sure nothing overwrites the settings.

Sure, I can set DENYWEBCHANGE in all WebPreferences-topics and also change the default-Webs settings, but are there any other options?

And btw. what difference does the changed TWikiGuest-User make anyway?

-- CedricWeber - 02 Sep 2008

Closing after more than 30 days. Please reopen with more details if needed...

-- PeterThoeny - 06 Nov 2008

 
Change status to:
Topic revision: r4 - 2008-11-06 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.