[PM-40514] Add custom attribute to check Organization abilities, use for risk insights endpoints - #8240
Open
lastbestdev wants to merge 10 commits into
Open
[PM-40514] Add custom attribute to check Organization abilities, use for risk insights endpoints #8240lastbestdev wants to merge 10 commits into
lastbestdev wants to merge 10 commits into
Conversation
Contributor
|
Claude Code is reviewing this pull request... If this comment does not update with results, check the Actions log. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8240 +/- ##
==========================================
+ Coverage 63.29% 63.31% +0.01%
==========================================
Files 2401 2402 +1
Lines 104043 104071 +28
Branches 9426 9430 +4
==========================================
+ Hits 65857 65891 +34
+ Misses 35930 35926 -4
+ Partials 2256 2254 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
https://bitwarden.atlassian.net/browse/PM-40514
📔 Objective
Adds a reusable custom attribute for checking the presence of an Organization ability before allowing an API request to process and return a result.
The original ticket is for patching up access to v1 Access Intelligence endpoints (aka Risk Insights), 5 of which were not checking the newly added Organization ability for feature access. The new attribute is applied to all Access Intelligence endpoints to gate access.
📸 Screenshots
N/A