Tags:
create new tag
view all tags

Question

I have successfully enabled authentication and access control. I attempted to limit view access to the Main and TWiki webs using the following WebPreferences statement:

  • ALLOWWEBVIEW = TWikiUsersGroup, TWikiAdminGroup

It worked fine but when I attempted to register a new users, the TWiki.TWikiUsers topic was wiped out which locked everyone out of TWiki.

I was logged in as TWikiAdmin, which is a member of TWikiAdmin.Group. It appears that the 'register' CGI script failed while attempting to access the TWiki.NewUserTemplate and the TWiki.TWikiUsers topics. I can work around the problem if I add the new user's TWiki name to the TWikiUsersGroup first, then register the new user. It appears that TWiki is evaluating the view request for the TWiki.TWikiUsers topic using the new user, not the user that I am logged in as. In other words, NewUser doesn't have view access to TWiki.TWikiUsers unless I add NewUser to TWikiUsersGroup before registering NewUser.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, GnuSkinPlugin
Server OS: Red Hat Linux release 7.2,
Web server: Apache 1.3.27
Perl version: Perl v5.6.1
Client OS: MS Windows NT
Web Browser: IE 5.5

-- DanGrattan - 16 Apr 2004

Answer

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-07-03 - PeterThoeny
 
  • 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.