-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix oauthsso profile habilitation by rule using dynamic group #21476
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
base: 11.0/bugfixes
Are you sure you want to change the base?
Fix oauthsso profile habilitation by rule using dynamic group #21476
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add a comment for this part? The authentication process is quite complex, and adding comments here could be useful for debugging purposes.
ec4c10a
to
929fada
Compare
tests/functional/UserTest.php
Outdated
$group = new \Group(); | ||
$group_id = $group->add([ | ||
'name' => 'SSO Test Group', | ||
'comment' => 'Group for SSO testing', | ||
]); | ||
$this->assertGreaterThan(0, $group_id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use $this->createItem(...
Checklist before requesting a review
Please delete options that are not relevant.
Description
Correction of the addition of permissions to a user during an OauthSSO connection when these are added by rules. For example, the criterion for adding a profile is a group from SCIM, which is therefore added dynamically to the user. During the OauthSSO connection, the permissions are removed.
Screenshots (if appropriate):