open-nomad/website/content/docs/commands/job
Luiz Aoqui 1aceff7806
cli: remove hard requirement on list-jobs (#16380)
Most job subcommands allow for job ID prefix match as a convenience
functionality so users don't have to type the full job ID.

But this introduces a hard ACL requirement that the token used to run
these commands have the `list-jobs` permission, even if the token has
enough permission to execute the basic command action and the user
passed an exact job ID.

This change softens this requirement by not failing the prefix match in
case the request results in a permission denied error and instead using
the information passed by the user directly.
2023-03-09 15:00:04 -05:00
..
allocs.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
deployments.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
dispatch.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
eval.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
history.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
index.mdx docs: Migrate link formats (#15779) 2023-01-25 09:31:14 -08:00
init.mdx Change job init default to example.nomad.hcl and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00
inspect.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
periodic-force.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
plan.mdx Change job init default to example.nomad.hcl and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00
promote.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
revert.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
run.mdx Change job init default to example.nomad.hcl and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00
scale.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
scaling-events.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
status.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
stop.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
validate.mdx Change job init default to example.nomad.hcl and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00