consul/ui/packages/consul-ui/app/templates/dc
John Cowen ee0e8bf500
ui: App-ify Lock Sessions (#12482)
This commit moves our in-app LockSessions code into an external 'app', which can theoretically be side-loaded but for now it just makes for good isolation/code hygiene.

Functionally, there is kind of one change here, and that is we only show the 'Lock Session' tab if you have permissions to see them. Currently as our UI authorization endpoint needs to be changed slightly to suit our usecase, you will always have permissions to see Lock Sessions as we hardcode the session:read to true (obvs this is a frontend thing, not a backend thing), so it doesn't really change anything from a user perspective.

Also added very bare docs while I was here.

Small note here, ideally we need to add the each individual tab depending on whether an 'app' is enabled or not instead of just permissions, ideally it would be done totally from The Outside rather than a can based conditional on the inside, just something else to be thinking about for the future.
2022-03-14 16:54:49 +00:00
..
acls ui: Fix up missing policy delete warning modal (#11868) 2021-12-21 06:40:55 +00:00
intentions ui: Ensure we check intention service prefix permissions for per service (#11409) 2021-11-04 12:10:28 +00:00
kv ui: App-ify Lock Sessions (#12482) 2022-03-14 16:54:49 +00:00
nodes ui: App-ify Lock Sessions (#12482) 2022-03-14 16:54:49 +00:00
services fix: Added Tags tab to gateways(just like exists for non-gateway services) 2022-02-20 14:34:26 +05:30
acls.hbs ui: Move control of login modal to use JS rather than HTML (label/id) (#9883) 2021-04-06 13:40:40 +01:00
routing-config.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00