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
--
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