-
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
[PM-13839][PM-13840] Admin Console Collections #11649
Merged
nick-livefront
merged 14 commits into
main
from
vault/pm-13839-13840/admin-console-collections
Nov 7, 2024
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
958633e
allow admin console to see all collections when viewing a cipher
nick-livefront c6f8b79
update cipher form service to use admin endpoints
nick-livefront 5b02608
when saving a cipher, choose to move to collections first before saviโฆ
nick-livefront e6c5032
set admin flag when the original cipher has zero collections
nick-livefront e70380e
add check for the users ability to edit items within the collection
nick-livefront 679ceb2
save cipher edit first to handle when the user unassigns themselves fโฆ
nick-livefront d58ed74
Merge branch 'main' into vault/pm-13839-13840/admin-console-collections
nick-livefront fea33b1
update filter order of collections
nick-livefront cf96b15
use cipher returned from the collections endpoint rather than re-fetcโฆ
nick-livefront 05ec1cb
Merge branch 'main' of https://github.com/bitwarden/clients into vaulโฆ
nick-livefront d14a496
fix unit tests by adding canEditItems
nick-livefront 496bfc1
re-enable collection control when orgId is present
nick-livefront b592960
Merge branch 'main' of https://github.com/bitwarden/clients into vaulโฆ
nick-livefront 823967a
fetch the updated cipher from the respective service for editing a ciโฆ
nick-livefront File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This logic stems from defect: PM-14449.
When a cipher was edited within the Admin console and the user doesn't have "direct" access, the
cipherService
will return null. In this case thegetCipherAdmin
should be used to refetch the cipherThere 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.
edit-after-edit.mov
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.
Good catch!
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.
๐ We can all thank Brad!