-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Split Organization.LimitCollectionCreationDeletion
into two separate business rules
#11223
Split Organization.LimitCollectionCreationDeletion
into two separate business rules
#11223
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #11223 +/- ##
=======================================
Coverage 33.14% 33.14%
=======================================
Files 2779 2779
Lines 86321 86342 +21
Branches 16449 16453 +4
=======================================
+ Hits 28615 28622 +7
- Misses 55432 55446 +14
Partials 2274 2274 ☔ View full report in Codecov by Sentry. |
New Issues
Fixed Issues
|
1a62e82
to
8b06739
Compare
LimitCollectionCreationDeletion
in twoOrganization.LimitCollectionCreationDeletion
into two separate business rules
LimitCollectionCreationDeletionSplit
feature flag
bitwarden/server#4809
8b06739
to
4e932e3
Compare
apps/web/src/app/admin-console/organizations/settings/account.component.ts
Show resolved
Hide resolved
apps/web/src/app/admin-console/organizations/settings/account.component.ts
Show resolved
Hide resolved
e78c97b
to
c712b07
Compare
f009b0a
to
8f74e2c
Compare
8f74e2c
to
1a7244a
Compare
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.
Auth change looks good
🎟️ Tracking
🧵 Jira Ticket: PM-10863
📚 Stacked PRs
server
: SplitLimitCollectionCreationDeletion
into two database columns server#4709server
: SplitOrganization.LimitCollectionCreationDeletion
into two separate business rules server#4730clients
: SplitOrganization.LimitCollectionCreationDeletion
into two separate business rules #11223⬆️ YOU ARE HERE
server
: Turn onLimitCollectionCreationDeletionSplit
for self host server#4808server
: [PM-14821] [PM-14822] RemoveLimitCollectionCreationDeletionSplit
feature flag server#4809clients
: [PM-14821] RemoveLimitCollectionCreationDeletionSplit
feature flag #11258server
: DropLimitCollectionCreationDeletion
from the database server#4810📔 Objective
🤳 The Bigger Picture
There is an option in the Admin Console that removes collection creation and
deletion controls from all organization members that are not in the Owner and
Admin roles. This PR stack splits this conjoined option into two separate
controls: one to block
create
operations and one to blockdelete
operations. This is a part of an effort to make these settings better align
with what customers expect it to do.
👉 This Pull Request 👍
In the previous PR we implemented the new functionality requested from this
effort in
server
. On this PR we apply those new rules toclients
. Thisinvolves adding the feature toggle to
clients
and implementing two newboolean settings in the admin console behind that feature toggle.
This PR, its predecessor in
server
, and the next PR in the stack encompassall of the functional changes to the system implemented by this PR stack. The
first pull request and the last two in the stack are for maintenance to
support evolutionary database design and feature toggling.
🧮 Side Effects
LimitCollectionCreationDeletion
andAllowAdminsAccessToAllCollections
from the license file used for selfhosted: the new controls are not disabled for self hosted organizations.
📸 Screenshots
Several recorded demos can be found in Jira
⏰ 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