open-consul/ui/packages/consul-ui/lib
John Cowen 1e26c1fe11
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
..
block-slots ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
colocated-components ui: Change approach to loading debug.css (#12242) 2022-02-03 08:40:03 +00:00
commands ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
custom-element ui: Add CustomElement Transform (#12540) 2022-03-11 10:25:21 +00:00
rehype-prism ui: Start using mermaid state diagrams in our docs (#12350) 2022-02-17 14:57:14 +00:00
startup ui: App-ify Lock Sessions (#12482) 2022-03-14 16:54:49 +00:00
.eslintrc.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00