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

25912 - Bugfix - Assigned role was not returning correct roles #3271

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

rodrigo-barraza
Copy link
Collaborator

Issue #:
bcgov/entity#25912

Description of changes:
assignedRole will now only return a role in the mapping, rather than any role it finds.
assignedRole should now also return the first object it finds in the array.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

assignedRole will now only return a role in the mapping, rather than any first role it finds.
assignedRole should also now return the object it first finds in the array.
@rodrigo-barraza rodrigo-barraza merged commit b214b84 into bcgov:main Feb 20, 2025
10 of 13 checks passed
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