open-nomad/acl
Luiz Aoqui 15f9d54dea
api: prevent excessice CPU load on job parse
Add new namespace ACL requirement for the /v1/jobs/parse endpoint and
return early if HCLv2 parsing fails.

The endpoint now requires the new `parse-job` ACL capability or
`submit-job`.
2022-02-09 19:51:47 -05:00
..
acl.go
acl_test.go
policy.go api: prevent excessice CPU load on job parse 2022-02-09 19:51:47 -05:00
policy_test.go api: prevent excessice CPU load on job parse 2022-02-09 19:51:47 -05:00