1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53:34 +00:00

[AC-1786] deprecate manager role (#6931)

* add deprecation message

* hide manager option

* deprecate manager enum
This commit is contained in:
Will Martin
2023-12-12 09:43:47 -05:00
committed by GitHub
parent 25c5bb147d
commit 02ba26e53c
3 changed files with 11 additions and 1 deletions

View File

@@ -131,6 +131,9 @@ export class Organization {
/**
* Whether a user has Manager permissions or greater
*
* @deprecated
* This is deprecated with the introduction of Flexible Collections.
*/
get isManager() {
return this.type === OrganizationUserType.Manager || this.isAdmin;