Description
If a group has id matching what is configured in oidc groups mapping, but a different display name, it will rename the group to have the same name as the group id. This situation can be achieved using the API or by renaming a group.
Steps to reproduce
- Create a group "department1"
- Rename the group to "International Sales Office"
- Create a mapping rule that adds user to group "department1"
- Log in using that user
Expected behavior
The user to be added to the group "department1" with display name "International Sales Office".
Actual behavior
The user is added to the group, but its displayname is changed to "department1" too
Environment
- Nextcloud version: 33.0.3
- PHP version: 8.4.21
- user_oidc version: 8.10.1
- oidc_groups_mapping version: 1.1.0
Description
If a group has id matching what is configured in oidc groups mapping, but a different display name, it will rename the group to have the same name as the group id. This situation can be achieved using the API or by renaming a group.
Steps to reproduce
Expected behavior
The user to be added to the group "department1" with display name "International Sales Office".
Actual behavior
The user is added to the group, but its displayname is changed to "department1" too
Environment