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 user update logic #1975

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix user update logic #1975

wants to merge 2 commits into from

Conversation

jpwhite4
Copy link
Member

@jpwhite4 jpwhite4 commented Feb 6, 2025

Description

Couple of clangers in the user organization update logic: The Organizations class functions getIdByName() and getOrganizationIdForPerson() claimed to return int values, but actually returned string values except if the database lookup failed in which case they did return strings. Turns out the organization_id values are stored as stings elsewhere in the code so changed these to return strings when the db lookup failed.

The guard logic in the XDUser class for SSO attributes was insufficient.

@jpwhite4 jpwhite4 added the bug Bugfixes label Feb 7, 2025
@jpwhite4 jpwhite4 added this to the 11.5.0 milestone Feb 7, 2025
@jpwhite4 jpwhite4 requested a review from ryanrath February 12, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant