-
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-12047] Remove usage of ActiveUserState from cipher.service #12814
base: main
Are you sure you want to change the base?
Conversation
New Issues (6)Checkmarx found the following issues in this Pull Request
Fixed Issues (20)Great job! The following issues were fixed in this Pull Request
|
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.
Key Management changes looks good
cipherViews$: Observable<CipherView[]>; | ||
ciphers$: Observable<Record<CipherId, CipherData>>; | ||
localData$: Observable<Record<CipherId, LocalData>>; | ||
cipherViews$: (userId: UserId) => Observable<CipherView[]>; |
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.
🎨 all of the functions are declared as fields/properties, but in the CipherService implementation, all of them are methods. Should be declared as methods instead.
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.
Fixed be3bb91
77742da
77742da
to
be3bb91
Compare
Passed active userId to delete function
11e4771
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-12047
📔 Objective
ActiveUserState is being deprecated. Remove usage from Cipher Service and require userId to be passed.
📸 Screenshots
⏰ 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