Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-02-24 17:03:55 -08:00
parent 218c6b4672
commit dedbe43c3e
101 changed files with 7680 additions and 857 deletions

View File

@ -2,12 +2,14 @@ from enum import Enum
class OrgRole(str, Enum):
"""The roles for users in an organization.""" # noqa: E501
"""The roles in an organization.""" # noqa: E501
"""# Admins can do anything in the org. """ # noqa: E501
ADMIN = "admin"
"""# Members of an org can not modify an org, but they belong in the org. """ # noqa: E501
MEMBER = "member"
"""# A service account role. """ # noqa: E501
SERVICE_ACCOUNT = "service_account"
def __str__(self) -> str:
return str(self.value)