mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
[Bug]: Admin permission goes back to false everytime the user login with their google account #580
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 @Cybrarist on GitHub (Oct 2, 2024).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
Chrome, Firefox, Safari
Current behaviour
if i have a user called A, A logs in with this account using google SSO for the first time.
then i change the status of user A to be an admin in the board.
user A gets the the admin rights after refreshing the page.
if user A logs out, then logs in again using google SSO, the admin is reset back to false.
Desired behaviour
No response
Steps to reproduce
Other information
No response
@meltyshev commented on GitHub (Oct 2, 2024):
Hi! This is the expected behaviour unless
OIDC_IGNORE_ROLES=trueis set. Also, in this case, it shouldn't even be possible to change the role via UI or API. So, to resolve this, you need to add theOIDC_IGNORE_ROLES=trueenvironment variable, and then the role will no longer be synchronized during login.@Cybrarist commented on GitHub (Oct 3, 2024):
my apologies, i haven't seen it.