-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[PM-28747] Storage limit bypass for enforce organization ownership policy #6759
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
Conversation
|
Claude finished @shane-melton's task in 2m 34s —— View job Code Review CompleteI've completed a thorough review of the PR changes. Here are my findings: Critical IssuesMissing Test Coverage for Disabled Feature Flag
Technical DebtDuplicate Code in OrganizationDataOwnershipPolicyRequirement
Missing Edge CasesNo Test for UsePolicies = False
QuestionsAudit Logging Consideration
Positive Findings✅ Excellent test coverage for both new and legacy policy systems Response to author's comment: The |
...ganizationFeatures/Policies/PolicyRequirements/OrganizationDataOwnershipPolicyRequirement.cs
Outdated
Show resolved
Hide resolved
|
New Issues (4)Checkmarx found the following issues in this Pull Request
Fixed Issues (75)Great job! The following issues were fixed in this Pull Request
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6759 +/- ##
==========================================
- Coverage 54.71% 54.70% -0.01%
==========================================
Files 1925 1926 +1
Lines 85671 85728 +57
Branches 7670 7678 +8
==========================================
+ Hits 46876 46900 +24
- Misses 37011 37044 +33
Partials 1784 1784 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
...ganizationFeatures/Policies/PolicyRequirements/OrganizationDataOwnershipPolicyRequirement.cs
Outdated
Show resolved
Hide resolved
eliykat
left a comment
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.
Nicely done.



🎟️ Tracking
PM-28747
📔 Objective
Check the organization policies for the
OrganizationDataOwnershipduring share operations and skip the storage limit checks when the policy is enabled. This reduces frictions for users that have attachments that need to be transferred to an enforcing organization during the migration period. Organization administrators will need to deal with any storage exceedance afterwards by either removing attachments or increasing their storage plan limit.⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes