mirror of
https://github.com/bitwarden/web
synced 2025-12-17 00:33:26 +00:00
Feature/split manage collections permission (#1211)
* Update guard services and routing * Add depenent checkbox to handle sub permissions * Present new collections premissions * Use new split permissions * Rename to nested-checkbox.component * Clarify css class name * update jslib
This commit is contained in:
@@ -29,7 +29,7 @@ export class BulkDeleteComponent {
|
||||
private i18nService: I18nService, private apiService: ApiService) { }
|
||||
|
||||
async submit() {
|
||||
if (!this.organization || !this.organization.canManageAllCollections) {
|
||||
if (!this.organization || !this.organization.canEditAnyCollection) {
|
||||
await this.deleteCiphers();
|
||||
} else {
|
||||
await this.deleteCiphersAdmin();
|
||||
|
||||
Reference in New Issue
Block a user