consul/ui/packages/consul-ui/tests/unit/adapters
John Cowen 66f1dd9425
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
..
application-test.js
auth-method-test.js
binding-rule-test.js ui: Auth Methods - Create Binding Rules tab (#9914) 2021-03-26 11:47:47 -04:00
coordinate-test.js
dc-test.js
discovery-chain-test.js
http-test.js
intention-test.js
kv-test.js
node-test.js
nspace-test.js
oidc-provider-test.js
partition-test.js ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
permission-test.js 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
policy-test.js
proxy-test.js
role-test.js
service-instance-test.js
session-test.js
token-test.js