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

gitlab oauth: account for role_attribute_path_strict #50088

Merged
merged 1 commit into from
Jun 3, 2022

Conversation

gamab
Copy link
Contributor

@gamab gamab commented Jun 2, 2022

What this PR does / why we need it:
With #49147 we added support for an ENV override of GF_AUTH_GITLAB_ROLE_ATTRIBUTE_PATH_STRICT.
This PR is aligning the backend to support this parameter: gitlab_oauth will handle role_attribute_path_strict the same way generic_oauth and okta_oauth are.

Which issue(s) this PR fixes:

Fixes https://github.com/grafana/grafana-enterprise/issues/3407

Special notes for your reviewer:

@gamab gamab added this to the 9.0.0 milestone Jun 2, 2022
@gamab gamab self-assigned this Jun 2, 2022
@gamab gamab requested a review from Jguer June 2, 2022 13:05
@gamab gamab marked this pull request as ready for review June 2, 2022 13:20
@gamab gamab requested a review from a team as a code owner June 2, 2022 13:20
@gamab gamab requested review from sakjur, kylebrandt and ying-jeanne and removed request for a team June 2, 2022 13:20
@gamab gamab changed the title auth.gitlab: account for role_attribute_path_strict auth.gitlab: account for role_attribute_path_strict Jun 2, 2022
@gamab gamab added no-changelog Skip including change in changelog/release notes add to changelog and removed add to changelog no-changelog Skip including change in changelog/release notes labels Jun 2, 2022
@gamab gamab changed the title auth.gitlab: account for role_attribute_path_strict gitlab oauth: account for role_attribute_path_strict Jun 2, 2022
@daniellee daniellee modified the milestones: 9.0.0, 9.0.0-beta3 Jun 3, 2022
@gamab gamab added no-changelog Skip including change in changelog/release notes and removed add to changelog labels Jun 3, 2022
@gamab gamab merged commit 6c7b6a7 into main Jun 3, 2022
@gamab gamab deleted the auth-gitlab/role-strict branch June 3, 2022 11:05
grafanabot pushed a commit that referenced this pull request Jun 3, 2022
gamab added a commit that referenced this pull request Jun 3, 2022
(cherry picked from commit 6c7b6a7)

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend backport v9.0.x enterprise-ok no-changelog Skip including change in changelog/release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants