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'
  UpdateGlobalSettings = 'UpdateGlobalSettings'
  CreateCatalog = 'CreateCatalog'
  ReadCatalog = 'ReadCatalog'
  UpdateCatalog = 'UpdateCatalog'
  DeleteCatalog = 'DeleteCatalog'
  CreateSettings = 'CreateSettings'
  ReadSettings = 'ReadSettings'
  UpdateSettings = 'UpdateSettings'
  DeleteSettings = 'DeleteSettings'
  CreateAdministrator = 'CreateAdministrator'
  ReadAdministrator = 'ReadAdministrator'
  UpdateAdministrator = 'UpdateAdministrator'
  DeleteAdministrator = 'DeleteAdministrator'
  CreateAsset = 'CreateAsset'
  ReadAsset = 'ReadAsset'
  UpdateAsset = 'UpdateAsset'
  DeleteAsset = 'DeleteAsset'
  CreateChannel = 'CreateChannel'
  ReadChannel = 'ReadChannel'
  UpdateChannel = 'UpdateChannel'
  DeleteChannel = 'DeleteChannel'
  CreateCollection = 'CreateCollection'
  ReadCollection = 'ReadCollection'
  UpdateCollection = 'UpdateCollection'
  DeleteCollection = 'DeleteCollection'
  CreateCountry = 'CreateCountry'
  ReadCountry = 'ReadCountry'
  UpdateCountry = 'UpdateCountry'
  DeleteCountry = 'DeleteCountry'
  CreateCustomer = 'CreateCustomer'
  ReadCustomer = 'ReadCustomer'
  UpdateCustomer = 'UpdateCustomer'
  DeleteCustomer = 'DeleteCustomer'
  CreateCustomerGroup = 'CreateCustomerGroup'
  ReadCustomerGroup = 'ReadCustomerGroup'
  UpdateCustomerGroup = 'UpdateCustomerGroup'
  DeleteCustomerGroup = 'DeleteCustomerGroup'
  CreateFacet = 'CreateFacet'
  ReadFacet = 'ReadFacet'
  UpdateFacet = 'UpdateFacet'
  DeleteFacet = 'DeleteFacet'
  CreateOrder = 'CreateOrder'
  ReadOrder = 'ReadOrder'
  UpdateOrder = 'UpdateOrder'
  DeleteOrder = 'DeleteOrder'
  CreatePaymentMethod = 'CreatePaymentMethod'
  ReadPaymentMethod = 'ReadPaymentMethod'
  UpdatePaymentMethod = 'UpdatePaymentMethod'
  DeletePaymentMethod = 'DeletePaymentMethod'
  CreateProduct = 'CreateProduct'
  ReadProduct = 'ReadProduct'
  UpdateProduct = 'UpdateProduct'
  DeleteProduct = 'DeleteProduct'
  CreatePromotion = 'CreatePromotion'
  ReadPromotion = 'ReadPromotion'
  UpdatePromotion = 'UpdatePromotion'
  DeletePromotion = 'DeletePromotion'
  CreateShippingMethod = 'CreateShippingMethod'
  ReadShippingMethod = 'ReadShippingMethod'
  UpdateShippingMethod = 'UpdateShippingMethod'
  DeleteShippingMethod = 'DeleteShippingMethod'
  CreateTag = 'CreateTag'
  ReadTag = 'ReadTag'
  UpdateTag = 'UpdateTag'
  DeleteTag = 'DeleteTag'
  CreateTaxCategory = 'CreateTaxCategory'
  ReadTaxCategory = 'ReadTaxCategory'
  UpdateTaxCategory = 'UpdateTaxCategory'
  DeleteTaxCategory = 'DeleteTaxCategory'
  CreateTaxRate = 'CreateTaxRate'
  ReadTaxRate = 'ReadTaxRate'
  UpdateTaxRate = 'UpdateTaxRate'
  DeleteTaxRate = 'DeleteTaxRate'
  CreateSystem = 'CreateSystem'
  ReadSystem = 'ReadSystem'
  UpdateSystem = 'UpdateSystem'
  DeleteSystem = 'DeleteSystem'
  CreateZone = 'CreateZone'
  ReadZone = 'ReadZone'
  UpdateZone = 'UpdateZone'
  DeleteZone = 'DeleteZone'
}