Skip to content

Detach unmapped OIDC roles during user sync#11702

Open
tiran133 wants to merge 1 commit into
ILIAS-eLearning:release_10from
tiran133:oidc/mantis/30142
Open

Detach unmapped OIDC roles during user sync#11702
tiran133 wants to merge 1 commit into
ILIAS-eLearning:release_10from
tiran133:oidc/mantis/30142

Conversation

@tiran133

Copy link
Copy Markdown

Description

Update OIDC role synchronisation, so existing users lose mapped global
roles when their provider claims no longer match the configured role
mapping.

Keep role matching behaviour for new users unchanged, while writing a
Role detach action for existing users when a mapped claim is missing or
does not contain the configured value.

Fixes

https://mantis.ilias.de/view.php?id=30142
It would be a change of behaviour, it might need to be gated behind a UI setting?

Update OIDC role synchronisation, so existing users lose mapped global
roles when their provider claims no longer match the configured role
mapping.

Keep role matching behaviour for new users unchanged, while writing a
Role detach action for existing users when a mapped claim is missing or
does not contain the configured value.
@mjansenDatabay

Copy link
Copy Markdown
Contributor

Hi @tiran133 ,

thanks for the PR. I will label this PR with "jour fixe" since this is a behavioural change. If no one objects to apply this change for the stable releases, I will merge it.

Best regards,
Michael

@mjansenDatabay mjansenDatabay added jour fixe php Pull requests that update Php code labels Jun 29, 2026
@tiran133

Copy link
Copy Markdown
Author

Hey,

thank you!

One question I have. We currently use Ilias 10. That's why I added this to ILIAS-eLearning:release_10

Once this is merged will it be included in to Ilias 11 automatically? Or do I need to create another PR.
Because it would be a shame when we upgrade at some stage to Ilias 11 to lose that functionality!

Not so familiar with the process here. This is my first contribution!
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jour fixe php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants