open-consul/ui/packages/consul-ui/app
John Cowen 10c1f5d089
ui: [Port] Ensure the tokens default nspace (and partition) is passed thru to the auth endpoint (#11490)
Most HTTP API calls will use the default namespace of the calling token to additionally filter/select the data used for the response if one is not specified by the frontend.

The internal permissions/authorize endpoint does not do this (you can ask for permissions from different namespaces in on request).

Therefore this PR adds the tokens default namespace in the frontend only to our calls to the authorize endpoint. I tried to do it in a place that made it feel like it's getting added in the backend, i.e. in a place which was least likely to ever require changing or thinking about.

Note:  We are probably going to change this internal endpoint to also inspect the tokens default namespace on the backend. At which point we can revert this commit/PR.

* Add the same support for the tokens default partition
2021-11-11 12:02:29 +00:00
..
abilities ui: Ensure we check intention service prefix permissions for per service (#11409) 2021-11-04 12:10:28 +00:00
adapters ui: [Port] Ensure the tokens default nspace (and partition) is passed thru to the auth endpoint (#11490) 2021-11-11 12:02:29 +00:00
components ui: Add Consul API Gateway as an external source (#11371) 2021-11-10 16:54:12 -05:00
controllers ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
decorators
filter/predicates ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
forms ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
helpers ui: Add Consul API Gateway as an external source (#11371) 2021-11-10 16:54:12 -05:00
instance-initializers ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
locations ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
machines ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
mixins ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
models ui: Topology view with no dependencies (#11280) 2021-11-05 13:46:41 -04:00
modifiers ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
routes ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
routing ui: Improve dev-time SSO/OIDC visibility (#11248) 2021-10-11 16:03:59 +01:00
search/predicates
serializers ui: Ensure dc selector correctly shows the currently selected dc (#11380) 2021-10-26 19:26:04 +01:00
services ui: Temporarily force all UI capabilities (#11520) 2021-11-10 11:05:27 +00:00
sort/comparators ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
styles ui: Fix up socket icon (#11234) 2021-10-11 14:37:05 +01:00
templates ui: Add Consul API Gateway as an external source (#11371) 2021-11-10 16:54:12 -05:00
utils ui: Ensure dc selector correctly shows the currently selected dc (#11380) 2021-10-26 19:26:04 +01:00
validations ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
app.js
env.js
formats.js
index.html
router.js ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00