open-consul/ui/packages/consul-ui/tests
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
..
acceptance ui: Add Consul API Gateway as an external source (#11371) 2021-11-10 16:54:12 -05:00
helpers ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
integration Revert "Merge pull request #11328 from radiantly/ui/feature/allow-${}-style-interpolation" 2021-11-10 17:54:33 +00:00
lib
pages ui: Topology view with no dependencies (#11280) 2021-11-05 13:46:41 -04:00
steps ui: Topology - Fix up Default Allow and Permissive Intentions notices (#11216) 2021-10-12 09:27:06 -04:00
unit 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
dictionary.js ui: Adds Partitions to the HTTP layer (#10447) 2021-09-15 18:09:55 +01:00
index.html
pages.js ui: Create Routing Configurations route and page (#10835) 2021-08-16 12:04:04 -04:00
steps.js
test-helper.js