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

Fixes #23254: User management plugin incorrectly understand OIDC roles #592

Conversation

fanf
Copy link
Member

@fanf fanf commented Aug 18, 2023

https://issues.rudder.io/issues/23254

A first PR for the problematic of dynamic role. This one is done so that it is compatible with current Rudder 7.3 and so we don't have the real configuration option for OIDC role override. So we just add a generic warning message to avoid surprise.

This PR also correct the fact that the list of authentication providers is hard coded in user management (to provide human readable version ?) and that authentication provider out of that not-maintained list are IGNORED.
At some point, we will have a type for providers, with their properties (does it override roles, etc), but we should never ignore unknown providers! I just removed the types, because they would likely be something else.
This was why OIDC was not listed and so user got false information.

Message:
image
image

@fanf
Copy link
Member Author

fanf commented Aug 18, 2023

PR updated with a new commit

2 similar comments
@fanf
Copy link
Member Author

fanf commented Aug 18, 2023

PR updated with a new commit

@fanf
Copy link
Member Author

fanf commented Aug 18, 2023

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder-plugins/pull/592
-- Your faithful QA
Kant merge: "Thoughts without content are empty, intuitions without concepts are blind."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/72556/console)

@fanf
Copy link
Member Author

fanf commented Aug 23, 2023

OK, squash merging this PR

@fanf fanf force-pushed the bug_23254/user_management_plugin_incorrectly_understand_oidc_roles branch from e7163a1 to 293fa7d Compare August 23, 2023 11:52
@fanf fanf merged commit 293fa7d into Normation:branches/rudder/7.3 Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants