-
Notifications
You must be signed in to change notification settings - Fork 55
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
Update userIsInSameOrg to use DB when feature flag enabled #8078
Conversation
ea231cd
to
6f4f1a9
Compare
6f4f1a9
to
55536a8
Compare
Quality Gate passedIssues Measures |
Optional<Organization> otherOrg = | ||
_oktaRepo | ||
.getOrganizationRoleClaimsForUser(otherUserEmail) | ||
.map(r -> _orgService.getOrganization(r.getOrganizationExternalId())); | ||
if (_featureFlagsConfig.isOktaMigrationEnabled()) { | ||
otherOrg = otherUser.getOrganizations().stream().findFirst(); |
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.
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.
lgtm!
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.
🚢
BACKEND PULL REQUEST
Related Issue
Changes Proposed
userIsInSameOrg
permission check we check the DB for the user's org when the feature flag is enabledAdditional Information
Testing
oktaMigrationEnabled
set totrue
deployed