Permission

Permission

Permission

Permissions for administrators and customers. Used to control access to GraphQL resolvers via the Allow decorator.

Signature

enum Permission {
  Authenticated = 'Authenticated'
  SuperAdmin = 'SuperAdmin'
  Owner = 'Owner'
  Public = 'Public'
  CreateCatalog = 'CreateCatalog'
  ReadCatalog = 'ReadCatalog'
  UpdateCatalog = 'UpdateCatalog'
  DeleteCatalog = 'DeleteCatalog'
  CreateCustomer = 'CreateCustomer'
  ReadCustomer = 'ReadCustomer'
  UpdateCustomer = 'UpdateCustomer'
  DeleteCustomer = 'DeleteCustomer'
  CreateAdministrator = 'CreateAdministrator'
  ReadAdministrator = 'ReadAdministrator'
  UpdateAdministrator = 'UpdateAdministrator'
  DeleteAdministrator = 'DeleteAdministrator'
  CreateOrder = 'CreateOrder'
  ReadOrder = 'ReadOrder'
  UpdateOrder = 'UpdateOrder'
  DeleteOrder = 'DeleteOrder'
  CreatePromotion = 'CreatePromotion'
  ReadPromotion = 'ReadPromotion'
  UpdatePromotion = 'UpdatePromotion'
  DeletePromotion = 'DeletePromotion'
  CreateSettings = 'CreateSettings'
  ReadSettings = 'ReadSettings'
  UpdateSettings = 'UpdateSettings'
  DeleteSettings = 'DeleteSettings'
}