13
kittycad/models/user_org_role.py
Normal file
13
kittycad/models/user_org_role.py
Normal file
@ -0,0 +1,13 @@
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class UserOrgRole(str, Enum):
|
||||
"""The roles for users 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"
|
||||
|
||||
def __str__(self) -> str:
|
||||
return str(self.value)
|
Reference in New Issue
Block a user