InventoryAuthorization
Who changes the stock. A stock belongs to the tenant: every caller reads it, and the inventoryAuthorizer keeps the buyers, owner-level callers, from changing it, as the catalog keeps them from changing a product. An employee, a tenant-level caller, receives stock: in development, a Wow-User without a Wow-Owner; behind the CoSec gateway, a principal of the role employee. The order process's reservations reach the stock on the context's command topic, outside admission, and a service's call on the internal port is a service identity's: the authorizer refuses neither.
Functions
Only an employee, a service, or the anonymous caller of a service tried out, changes the stock: a buyer reads it. Wow's operational commands (a scheduled job's, the snapshot rebuild, an operator's action on a parked entry) are inventoryOperators'.
Wow's operational commands (a scheduled job's, the snapshot rebuild, an operator's action on a parked entry) are an employee's alone, a tenant-level caller with a subject: this authorizer decides them, so the public port and the operator's routes serve them (CommandAuthorizer.operational).