PM-31847 Wire up UseMyItems organization ability#7039
Conversation
|
Claude finished @eliykat's task in 2m 59s —— View job Re-review: PM-31847 Wire up UseMyItems organization abilityVerdict: Approve -- Incremental changes since last review are clean improvements that address prior feedback. What changed since last review (5 commits)
Key observations on incremental changes
No new findings. |
|
New Issues (1)Checkmarx found the following issues in this Pull Request
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7039 +/- ##
==========================================
- Coverage 60.75% 56.75% -4.00%
==========================================
Files 2013 2013
Lines 88175 88195 +20
Branches 7851 7856 +5
==========================================
- Hits 53570 50059 -3511
- Misses 32698 36313 +3615
+ Partials 1907 1823 -84 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
||
| private async Task UpsertDefaultCollectionsForUsersAsync(PolicyUpdate policyUpdate, string defaultCollectionName) | ||
| { | ||
| // FIXME: we should use the organizationAbility cache here, but it is currently flaky |
There was a problem hiding this comment.
Hey @eliykat , I’m curious, how are we tracking this? I totally agree with the decision here, but I want to make sure it doesn’t get lost. Maybe we should add this to the ability cache initiative. It doesn’t have to be included in epic PM-32104.
There was a problem hiding this comment.
Good question, I do think that epic is probably the best place to track this (and any other instance where we've sidestepped the cache). I'll add a ticket as follow-up work after release of that feature.
ab45516 to
5df160b
Compare
|
Some additional reviewers were automatically requested for review when the base branch changed. Sorry about that! If you're not a code owner, please ignore. |
5df160b to
8bf54b5
Compare
|





🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-31847
📔 Objective
Follow on from #7014 - now actually wire up this new ability flag into domain code so it can enable/disable creation of My Items collections.
There is some code duplication between ~5 different locations which create My Items collections. However, I have not DRY'd this up because:
PolicyRequirementsinterface📸 Screenshots