[PM-22503] Fix manage cipher permission
đī¸ Tracking
đ Objective
This fixes what manage gets set to on a cipher when a cipher is shared between two collections a user has access to.
â° Reminders before review
- Contributor guidelines followed
- All formatters and local linters executed and passed
- Written new unit and / or integration tests where applicable
- Protected functional changes with optionality (feature flags)
- Used internationalization (i18n) for all UI strings
- CI builds passed
- Communicated to DevOps any deployment requirements
- Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team
đĻŽ 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
Codecov Report
Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
Project coverage is 50.99%. Comparing base (
66d1c70) to head (c8c8b44). Report is 14 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...tyFramework/Vault/Repositories/CipherRepository.cs | 85.71% | 0 Missing and 1 partial :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #5972 +/- ##
==========================================
+ Coverage 47.62% 50.99% +3.36%
==========================================
Files 1665 1673 +8
Lines 75117 75205 +88
Branches 6772 6767 -5
==========================================
+ Hits 35775 38349 +2574
+ Misses 37884 35337 -2547
- Partials 1458 1519 +61
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Checkmarx One â Scan Summary & Details â 8481a20f-9712-40ab-bb79-9972c26985c8
Great job, no security vulnerabilities found in this Pull Request
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
I've requested @r-tome to have a look at this as well just to double check collection permission handling.