1
0
mirror of https://github.com/bitwarden/web synced 2025-12-20 02:03:29 +00:00

Limit collection actions presented to permitted (#1247)

* Limit collection actions presented to permitted

* Revert useless move

* Limit vault view to editable ciphers and collections

* Update jslib

* PR review

(cherry picked from commit 9dd859af7a)
This commit is contained in:
Matt Gibson
2021-10-20 16:17:27 -05:00
parent 3d30495ffb
commit a620a3f84c
10 changed files with 89 additions and 30 deletions

View File

@@ -29,6 +29,8 @@ import { Utils } from 'jslib-common/misc/utils';
export class CollectionAddEditComponent implements OnInit {
@Input() collectionId: string;
@Input() organizationId: string;
@Input() canSave: boolean;
@Input() canDelete: boolean;
@Output() onSavedCollection = new EventEmitter();
@Output() onDeletedCollection = new EventEmitter();