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

Allow impersonation if the target is in at least one of the allowed groups #208

Merged

Conversation

phil-davis
Copy link
Contributor

@phil-davis phil-davis commented Sep 15, 2022

See my comment #206 (comment)

The requirement should be that the target user can be impersonated if they are in any of the groups for which impersonation is allowed. This PR implements that logic.

With the original logic, the target user had to be a member of every group in the list.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@phil-davis phil-davis mentioned this pull request Sep 15, 2022
@phil-davis phil-davis marked this pull request as ready for review September 15, 2022 11:02
Copy link
Contributor

@mrow4a mrow4a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to think about it. Lets park it

Copy link
Contributor

@mrow4a mrow4a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh yes, makes sense... Thanks for spotting

@phil-davis phil-davis merged commit c1f2d36 into release-0.5.2 Sep 15, 2022
@delete-merged-branch delete-merged-branch bot deleted the refactor-targetIsInAtLeastOneOfTheAppEnabledGroupIds branch September 15, 2022 11:38
@phil-davis phil-davis mentioned this pull request Sep 19, 2022
42 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants