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. |
||
|---|---|---|
| .. | ||
| errors.go | ||
| errors_test.go | ||
| handler.go | ||
| middleware.go | ||
| openapi.v2.gen.go | ||
| openapi.v2.yml | ||
| server.go | ||
| v2_internal_test.go | ||
| v2_koji_test.go | ||
| v2_multi_tenancy_test.go | ||
| v2_test.go | ||