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.
Sign in with your Vendure Console account to read this documentation.