Repository navigation
[PM-46788] Adds flexible parser for item types policy data - #24696
aaronjordan wants to merge 1 commit into
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR adds |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24696 +/- ##
==========================================
+ Coverage 63.31% 63.32% +0.01%
==========================================
Files 5006 5007 +1
Lines 162917 162924 +7
Branches 26287 26288 +1
==========================================
+ Hits 103156 103177 +21
+ Misses 52765 52752 -13
+ Partials 6996 6995 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
15975e3 to
ec3a78e
Compare
ec3a78e to
4c64289
Compare
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-35389
https://bitwarden.atlassian.net/browse/PM-46788
📔 Objective
This change makes it safe to adjust the shape of
datafor the hidden item type policy.Currently, nothing is written to this field, but web-based clients expect it could be an array. Instead, we will be making it an object so that it works neatly with existing policy bindings/helpers.
In the end, we'll write something like
{ "restrictedTypes": [3] }on policy 15 where we currently place
null(and enabled) to represent hiding theCardtype from organization users.