-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[AC-2447] Allow the UI to save and close dialog when user removes final Can Manage Collection of an item #9136
Conversation
… longer manage cipher after requested update
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9136 +/- ##
==========================================
- Coverage 28.14% 28.13% -0.02%
==========================================
Files 2361 2362 +1
Lines 69846 69858 +12
Branches 13133 13134 +1
==========================================
- Hits 19660 19655 -5
- Misses 48629 48646 +17
Partials 1557 1557 ☔ View full report in Codecov by Sentry. |
No New Or Fixed Issues Found |
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.
LGTM
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.
Please see my review on bitwarden/server#4074 (review)
@@ -778,11 +778,11 @@ export class CipherService implements CipherServiceAbstraction { | |||
const response = await this.apiService.putCipherCollections(cipher.id, request); | |||
// The response will be null when a Owner/Admin makes a request removing the last Can Manage Access |
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.
nit: We can update this comment since we're returning the new optional response model now and not null
.
…al Can Manage Collection of an item (#9136) * update saveCollectionsWithServer to accept a new value if user can no longer manage cipher after requested update
Objective
Previously when a user removed the final Can Manage collection of an item, the dialog would stay open and there was no indication that update was processed.
Now the collections dialog will close on save and the Cipher they no longer have access to will be removed from their list
Screen Recording
AC-2447-Last-Can-Manage-Removed.mov