Item11180: REGISTRATIONGROUPS does not work in FW1.1.3
Priority: Urgent
Current State: Closed
Released In: 1.1.4
Target Release: patch
Foswiki 1.1.3: when REGISTRATIONGROUPTYPE (automatic) with REGISTRATIONGROUPS (e.g.
MyOwnGroup) are activated (in
SitePreferences), a new user gets email "AddToGroups:
MyOwnGroup" but actually he/she is not added to the group . The group has as a member
RegistrationAgent and the settings are:
--
ValentinKozlov - 12 Oct 2011
Cannot manage to make it work, and the documentation is bogus (not proper English at least, and confusing):
- If REGISTRATIONGROUPS below can be set to a comma separated list of groups, to be shown on the registration topic. If it is unset, then group change permissions will be used to create the list of groups a user can be added to (for guest driven registration the RegistrationAgent's permissions are used, for logged in user registration of someone else, that user's permissions are used).
--
OlivierRaginel - 12 Oct 2011
Tracing this a bit, the code in Register.pm does seem to work correctly. $users->addUserToGroup is called, but the topic mapper doesn't add the user.
I'll take this and also clean up the documentation a bit.
--
GeorgeClark - 23 Oct 2011
Here are the issues:
--
GeorgeClark - 23 Oct 2011
One-line bug in UI::Register.
--
GeorgeClark - 23 Oct 2011
Fix committed along with updated documentation. Opened
Item11196 to ask for improved error handling in the addUserToGroup processing.
--
GeorgeClark - 24 Oct 2011