mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[AC-1139] Fixed canEdit permission
This commit is contained in:
@@ -33,7 +33,7 @@ export class CollectionAdminView extends CollectionView {
|
||||
|
||||
override canEdit(org: Organization, flexibleCollectionsEnabled: boolean): boolean {
|
||||
if (flexibleCollectionsEnabled) {
|
||||
return org?.canEditAnyCollection;
|
||||
return org?.canEditAnyCollection || this.assigned;
|
||||
} else {
|
||||
return org?.canEditAnyCollection || (org?.canEditAssignedCollections && this.assigned);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user