PM-37478 temporarily disabling useRiskInsights access controll#7631
Merged
prograhamming merged 1 commit intoMay 15, 2026
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7631 +/- ##
==========================================
- Coverage 59.82% 59.82% -0.01%
==========================================
Files 2119 2119
Lines 93354 93350 -4
Branches 8282 8281 -1
==========================================
- Hits 55849 55845 -4
- Misses 35522 35523 +1
+ Partials 1983 1982 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Banrion
approved these changes
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



🎟️ Tracking
PM-37478
📔 Objective
PR #7228 added an orgAbility.UseRiskInsights check to AuthorizeAsync() on the V1 and V2 Access Intelligence endpoints. The check follows the correct pattern, but it should not have been added before the upstream Organization Ability work was completed (tracked by the parent Story — link TBD). The UseRiskInsights flag is not reliably 1 on Enterprise org rows, so the check now fails for affected Enterprise users.
Temporarily disable the check to restore production behavior while the parent Story's subtasks complete the org-ability work. The check will be re-enabled by a subtask under the parent Story once that work ships.