Prerequisite: the permission "Subscribe to group" setting for a group is setted to
"Allow non-members to request membership to a group (approval required)".
In case of a not yet registered user chooses a group on the website registration form then, after form submission, user is immediately added to that group even if that group needs a membership approval.
User state is automatically set to "active" instead of "pending" bypassing the subscription request and approval from group administrator.
After user submits website form registration, 2 actions were expected:
- The default drupal website registration process goes ahead
- The "Are you sure you want to join the group XXX" page have to be shown to the user as well as the "request message" input textarea and final "join" button.
Thank you very much for working on this bug.