Invitation Acceptance Issue After Updating to Drupal with Ginvite 4.0.0-rc1

Created on 3 September 2024, 4 months ago
Updated 10 September 2024, 3 months ago

Problem/Motivation

After updating Drupal and installing or upgrading to the Ginvite 4.0.0-rc1 module, there is an issue where invited users are not being assigned the correct role within a group after accepting their invitation and completing the registration process. This problem is causing discrepancies in user permissions and group management, as the intended role is not applied, potentially limiting the user’s ability to interact with the group as expected. This issue undermines the effectiveness of role-based access control within groups and may lead to confusion or security concerns if users cannot perform their expected functions.

The motivation for addressing this problem is to ensure that the role assignment process works correctly, preserving the integrity of user roles and permissions in group settings, which is critical for maintaining the proper function and security of the site.

Steps to reproduce

Send Invitation:

As an admin or group manager, send an invitation to a non-registered user.
During the invitation process, select a specific role for the user within the group.
User Receives Invitation:

The invited user receives an email from Drupal with a link to accept the invitation.
User Accepts Invitation:

The user clicks the link in the invitation email to accept the group invitation.
After accepting, Drupal sends a follow-up email prompting the user to create a password.
User Completes Registration:

The user completes the process by setting a password as instructed in the second email.
The user is now registered in the system and added to the group.

Proposed resolution

The user should be assigned the selected role within the group immediately after accepting the invitation and completing the registration process.

Remaining tasks

User interface changes

API changes

Data model changes

Additional Information:
Drupal version: 10.3.1
Ginvite module version: 4.0.0-rc1
Group module version: 3.2.2
Any recent updates or changes: Update drupal and module to the last version.

πŸ› Bug report
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024