Assigning a user to a certain "ROLE_GROUP_<name>" role does not really put the user in such group

Steps to reproduce

Steps to reproduce:

1. Create a new group "My Group" with the following roles:

  • ROLE_ADMIN_UI

  • ROLE_USER

  • ROLE_ANONYMOUS

  • ROLE_UI_EVENTS_VIEW
    2. Create a new user and assign the role "ROLE_GROUP_MY_GROUP" to it.
    3. Log out and try to log in as the user created.

Actual Results:
The user is redirected to the engage UI, indicating that it does not have the roles assigned to the group "My Group". However, the "ROLE_GROUP_MY_GROUP" should be equivalent to belong to the group "My Group"

Expected Results:
Either the group should be updated to reflect that the user now belongs to it or the "group roles" like "ROLE_GROUP_<groupname>" should not be selectable in the admin UI. In the latter case, an alternative mechanism should be provided to assign a certain user to a certain group while it's being created.

Workaround (if any):
Include the user in the group "My Group" from the "Edit Group" section in the admin UI

Assignee

Stephen Marquard

Reporter

Rubén Pérez

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Critical
Configure