diff --git a/src/ai/backend/common/types.py b/src/ai/backend/common/types.py index b91d04814f9..40f98e1b63e 100644 --- a/src/ai/backend/common/types.py +++ b/src/ai/backend/common/types.py @@ -228,6 +228,7 @@ class BasePermission(AbstractPermission): class ProjectPermission(AbstractPermission): + CREATE_PROJECT = "create-project" READ_PROJECT = "read-project" MODIFY_PROJECT = "modify-project" DELETE_PROJECT = "delete-project" @@ -240,6 +241,7 @@ class ProjectPermission(AbstractPermission): class DomainPermission(AbstractPermission): + CREATE_DOMAIN = "create-domain" READ_DOMAIN = "read-domain" MODIFY_DOMAIN = "modify-domain" DELETE_DOMAIN = "delete-domain" @@ -252,6 +254,7 @@ class DomainPermission(AbstractPermission): class UserPermission(AbstractPermission): + CREATE_USER = "create-user" READ_USER = "read-user" MODIFY_USER = "modify-user" DELETE_USER = "delete-user"