Guard requiring a catalogue role held in the request's scope. An array is
ANY-of. Returns 501 when no authorization policy service is registered,
401 for an anonymous request (before the scope source runs), 403 when
the role is not held in the scope; otherwise calls next().
Only rbac catalogue roles can be named: a role a tenant defines at
runtime cannot be checked at startup, so per-scope custom roles are checked
through the permissions they bundle. A name outside the catalogue fails
start().
Guard requiring a catalogue role held in the request's scope. An array is ANY-of. Returns
501when no authorization policy service is registered,401for an anonymous request (before the scope source runs),403when the role is not held in the scope; otherwise callsnext().Only
rbaccatalogue roles can be named: a role a tenant defines at runtime cannot be checked at startup, so per-scope custom roles are checked through the permissions they bundle. A name outside the catalogue failsstart().