Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Administrator group not being removed after removing user from the group configured at "Group Claim value for administrator users" #22939

Open
dloez opened this issue Feb 16, 2023 · 1 comment
Labels

Comments

@dloez
Copy link

dloez commented Feb 16, 2023

Description

After being able to configure group mapping using Azure as an Authentication Source, we have tested that when we configure the group "gitea-administrator" in the field "Group Claim value for administrator users" all users that are members of that group are correctly mapped to Administrators on Gitea, but if then we remove the user from that group they still have administrator privileges on Gitea.

Is this a bug or it is intended?

As a note, we tested this after #21441 was merged.

Gitea Version

1.19

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

None

@dloez dloez added the type/bug label Feb 16, 2023
@evadim
Copy link

evadim commented Dec 5, 2023

I halso hit this bug today.

I got it removed after I put random symbols to "Group Claim value for administrator users" and user log in next time - have to manually log out and log in again.

Looks like this parameter not updated when value changed to empty and rights change only during log in process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants