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

Fix bug where one AD group would be added as one char groups #287

Merged
merged 1 commit into from
May 26, 2023

Conversation

mikkokeskinen
Copy link
Contributor

If the AD returns "group" claim as a string instead of a list of strings the update_ad_groups function would add every char in the group name as a separate ADGroup.

Fixed by converting the string to a one element list of the string before calling user.update_ad_groups.

Refs HP-1953

If the AD returns "group" claim as a string instead of a list of strings
the update_ad_groups function would add every char in the group name as
a separate ADGroup.

Fixed by converting the string to a one element list of the string
before calling user.update_ad_groups.
@sonarcloud
Copy link

sonarcloud bot commented May 26, 2023

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented May 26, 2023

Codecov Report

Merging #287 (e0758dc) into develop (22efe32) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #287      +/-   ##
===========================================
+ Coverage    80.23%   80.24%   +0.01%     
===========================================
  Files           90       90              
  Lines         3764     3766       +2     
===========================================
+ Hits          3020     3022       +2     
  Misses         744      744              
Impacted Files Coverage Δ
users/pipeline.py 76.76% <100.00%> (+0.33%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mikkokeskinen mikkokeskinen merged commit 132d197 into develop May 26, 2023
8 of 10 checks passed
@mikkokeskinen mikkokeskinen deleted the HP-1953-update_ad_groups-fix branch May 26, 2023 12:40
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.

None yet

2 participants