authenticate config
which field to get the productIdObjects from context
injected service used to handle the catalog related operations
injected API used to handle the organization related operations
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status Ok
This validator is used to check if the user is normal organization owner or admin for product id field by applying the following steps in sequence:
Get the productIdObjects from the context
Extract the productId from the productIdObjects
Check if the user is the owner or admin for the products (isUserNormalOrganizationOwnerOrAdminForProductIds)
500 NBError Internal server error
There is a potential performance issue if this is performed over many organizations. Limit the amount of organizations per product to guarantee good performance.
Generated using TypeDoc
Is user normal organization owner or admin for product id field validator