Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

enh(openid): handle authorization management on authentication (#11320) #11349

Merged
merged 2 commits into from
Jul 8, 2022

Conversation

jeremyjaouen
Copy link
Contributor

Description

This PR intends to handle authorization management on authentication.

https://www.loom.com/share/0502ced17ba9477891291af52e67d2c4

While a user login using OpenID Connect:

His contactgroup is automatically set to the one configured in OpenId Configuration
His Access Groups are automatically bind from Claims gather from Identity Provider
If contactgroup or access groups bind changes in OpenId Configuration, the new contactgroup / access groups are updated for the user at his next authentication.

Fixes # MON-10790

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

  • 21.04.x
  • 21.10.x
  • 22.04.x
  • 22.10.x (master)

Checklist

Community contributors & Centreon team

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (master, maintenance).

@jeremyjaouen jeremyjaouen requested review from a team, adr-mo and TamazC July 8, 2022 11:06
@sonarqube-decoration
Copy link

@jeremyjaouen jeremyjaouen merged commit 1f97adc into dev-22.04.x Jul 8, 2022
@jeremyjaouen jeremyjaouen deleted the MON-10790-22.04.x branch July 8, 2022 12:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants