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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user