1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Remove unnecessary fallbacks (#1245)

Web is in lock-step to server version. We do not need fallbacks
since we're sure the server version will support collection permissions split.
This commit is contained in:
Matt Gibson
2021-10-19 08:08:15 -05:00
committed by GitHub
parent 3ee61fef96
commit 1de569e64d
2 changed files with 2 additions and 39 deletions

View File

@@ -79,19 +79,6 @@ export class UserAddEditComponent implements OnInit {
},
];
get fallbackToManageAllCollections() {
return this.editMode &&
this.permissions.createNewCollections == null &&
this.permissions.editAnyCollection == null &&
this.permissions.deleteAnyCollection == null;
}
get fallbackToManageAssignedCollections() {
return this.editMode &&
this.permissions.editAssignedCollections == null &&
this.permissions.deleteAssignedCollections == null;
}
get customUserTypeSelected(): boolean {
return this.type === OrganizationUserType.Custom;
}