Skip to content

PM-37478 temporarily disabling useRiskInsights access controll#7631

Merged
prograhamming merged 1 commit into
mainfrom
dirt/pm-37478-temp-disable-riskinsights-access
May 15, 2026
Merged

PM-37478 temporarily disabling useRiskInsights access controll#7631
prograhamming merged 1 commit into
mainfrom
dirt/pm-37478-temp-disable-riskinsights-access

Conversation

@prograhamming
Copy link
Copy Markdown
Contributor

@prograhamming prograhamming commented May 13, 2026

🎟️ 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.

@prograhamming prograhamming marked this pull request as ready for review May 13, 2026 21:48
@prograhamming prograhamming requested a review from a team as a code owner May 13, 2026 21:48
@sonarqubecloud
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.82%. Comparing base (291ddfd) to head (96663b9).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@prograhamming prograhamming merged commit 7f637aa into main May 15, 2026
42 checks passed
@prograhamming prograhamming deleted the dirt/pm-37478-temp-disable-riskinsights-access branch May 15, 2026 15:08
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