-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[PM-17154] Limit item deletion feature flag logic removal #5925
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
base: main
Are you sure you want to change the base?
Conversation
…ureService dependency and associated feature flag checks. Cleaned up tests to reflect these changes, ensuring they focus on manage permissions without reliance on feature flags.
…cks for item deletion permissions. Updated tests to focus on user manage permissions without reliance on feature flags, ensuring cleaner and more maintainable code.
…ion ability checks. Updated test cases to ensure proper handling of item deletion permissions based on user roles and organization settings, improving test coverage and reliability.
New Issues (1)Checkmarx found the following issues in this Pull Request
Fixed Issues (104)Great job! The following issues were fixed in this Pull Request
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5925 +/- ##
==========================================
- Coverage 47.73% 47.70% -0.04%
==========================================
Files 1665 1665
Lines 75022 75008 -14
Branches 6757 6752 -5
==========================================
- Hits 35811 35779 -32
- Misses 37751 37778 +27
+ Partials 1460 1451 -9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-17154
📔 Objective
Removed
LimitItemDeletion
flag and enforced manage-only deletion acrossCipherService
andCiphersController
.Deleted obsolete tests for edit-based deletion and updated remaining tests to reflect the new behavior.
Clients PR
⏰ 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