mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
[EC-200] Handle an edge case where ciphers were not selectable (#1674)
This commit is contained in:
@@ -123,7 +123,11 @@ export class OrganizationVaultComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
this.route.queryParams.subscribe(async (params) => {
|
this.route.queryParams.subscribe(async (params) => {
|
||||||
if (params.cipherId) {
|
if (params.cipherId) {
|
||||||
if ((await this.cipherService.get(params.cipherId)) != null) {
|
if (
|
||||||
|
// Handle users with implicit collection access since they use the admin endpoint
|
||||||
|
this.organization.canEditAnyCollection ||
|
||||||
|
(await this.cipherService.get(params.cipherId)) != null
|
||||||
|
) {
|
||||||
this.editCipherId(params.cipherId);
|
this.editCipherId(params.cipherId);
|
||||||
} else {
|
} else {
|
||||||
this.platformUtilsService.showToast(
|
this.platformUtilsService.showToast(
|
||||||
|
|||||||
Reference in New Issue
Block a user