Declarative decorator for enforcing company-level permissions on Shop API resolvers.
When applied to a resolver method, the global CompanyPermissionGuard will:
ActiveCompanyContext for the current request (throws ForbiddenError if none)If no permissions are specified, the guard only requires a valid company context without checking any specific permission.
This page is part of the Vendure Platform documentation. Access requires a valid Vendure Platform license.