mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 17:53:39 +00:00
fixes for non-admin actions on org vault list
This commit is contained in:
@@ -76,4 +76,11 @@ export class CiphersComponent extends BaseCiphersComponent {
|
||||
events(c: CipherView) {
|
||||
this.onEventsClicked.emit(c);
|
||||
}
|
||||
|
||||
protected deleteCipher(id: string) {
|
||||
if (!this.organization.isAdmin) {
|
||||
return super.deleteCipher(id);
|
||||
}
|
||||
return this.apiService.deleteCipherAdmin(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user