Use the `EnsureJobChannel()` middleware in all `compose/<id>` endpoints. Specifically in the: - status - metadata - manifests - logs As a result, these endpoints now return `404` in case the server has JWT enabled and the channel associated with the request does not match the channel associated with the requested compose (job). Extend the multi-tenancy unit test to ensure that these endpoints behave as expected in case of match and mismatch between the request and compose channels. |
||
|---|---|---|
| .. | ||
| v2 | ||
| server.go | ||