mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
add manager org user type
This commit is contained in:
@@ -49,6 +49,11 @@ export class Organization {
|
||||
return this.enabled && this.status === OrganizationUserStatusType.Confirmed;
|
||||
}
|
||||
|
||||
get isManager() {
|
||||
return this.type === OrganizationUserType.Manager || this.type === OrganizationUserType.Owner ||
|
||||
this.type === OrganizationUserType.Admin;
|
||||
}
|
||||
|
||||
get isAdmin() {
|
||||
return this.type === OrganizationUserType.Owner || this.type === OrganizationUserType.Admin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user