open-nomad/ui/app/abilities
Tim Gross f6836869c5
ui: fix ability checking when anon policy is missing namespace (#14144)
ACL Policies aren't required to have any `namespace` blocks, and this is
particularly common with the anonymous policy. If a user visits the web UI
without a token already in their local storage and the anonymous policy has no
`namespace` blocks, the UI will hit unhandled exceptions when rendering the
sidebar or jobs page.

Filter for the case where there's no `namespace` block.
2022-08-16 16:13:36 -04:00
..
abstract.js ui: prettify js files 2022-01-20 09:54:56 -05:00
agent.js ui: prettify js files 2022-01-20 09:54:56 -05:00
allocation.js ui: fix auto-fixable linting errors 2022-01-20 09:46:45 -05:00
client.js ui: fix remaining linting errors 2022-01-20 10:39:02 -05:00
job.js ui: fix ability checking when anon policy is missing namespace (#14144) 2022-08-16 16:13:36 -04:00
recommendation.js ui: prettify js files 2022-01-20 09:54:56 -05:00
variable.js ui: fix ability checking when anon policy is missing namespace (#14144) 2022-08-16 16:13:36 -04:00