mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 11:21:03 +03:00
[Bug]: Unable to Change Role of User Logged in via OAuth #696
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @spokeswamp on GitHub (May 10, 2025).
Where is the problem occurring?
I'm not sure
What browsers are you seeing the problem on?
Chrome
Current behavior
User logged in via OAuth, "Edit role" not available - changing the role is not possible.

User created manually by an administrator. "Edit role" is active - role changes are allowed.

Desired behavior
"Edit role" field should be available and editable for all users, including those authenticated via OAuth. Administrators must be able to change roles regardless of the user's registration method.
Steps to reproduce
docker-compose.ymlOther information
v2.0.0-rc.2@toras9000 commented on GitHub (May 12, 2025):
I too have stumbled a bit in resolving this issue.
Solutions can be found at
https://docs.planka.cloud/docs/configuration/oidc
When using the OIDC configuration, the default seems to be to try to find the role from the authentication source.
It seems that by setting
OIDC_IGNORE_ROLEStotrue, it is possible to set roles on Planka.@spokeswamp commented on GitHub (May 12, 2025):
Yes, it really worked! It wasn't obvious after I upgraded, and there was nothing about this in the upgrade manual. Thank you so much!