Tags:
create new tag
view all tags

Question

Is it possible to have new users automatically added to a pre-defined default group when they register? Currently they don't belong to any group, but for reasons of access control etc. I'd like everyone to be in at least one group.

I am using LAN-based auth in Apache(mod_ntlm as it happens), so all users who can access TWiki have REMOTE_USER set, but I want to ensure that they also register before being able to edit. A default group seems an obvious way to do it, but any other solutions would be welcome!

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SuSE Linux 8
Web server: Apache 1.3.26
Perl version: 5.8
Client OS: Win 2k
Web Browser: IE 6
Categories: Registration, Authentication, Security

-- RickJones - 25 Oct 2004

Answer

TWiki currently does not have the functionality to add a registered user automatically to a group.

You could change your skin to hide/disable edit for non registered users. Assuming you are mapping from login name (jsmith) to WikiName (JohnSmith) and your login names are lowercase, you can use the SpreadSheetPlugin to conditionally hide the Edit link if the %WIKINAME% starts with a lowercase letter, e.g. is from a non-registered user.

-- PeterThoeny - 04 Dec 2004

-- YvesRosner - 18 Jan 2005

Also, for Authentication purposes, if you only set ALLOWWEBVIEW = SomeGroup, Access will be denied to everybody not in that groop. This way users do not need to be in a group to be denied access...

-- ChristophSchmitz - 2009-08-10

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009-08-10 - ChristophSchmitz
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.