consul/ui/packages/consul-ui/tests/unit
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
..
abilities ui: Adds a set of basic unit tests for abilities (#11132) 2021-09-27 16:46:26 +01: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: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
controllers ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
filter/predicates ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
helpers ui: Remove old style 'filterable' searching (#9356) 2020-12-09 19:12:17 +00:00
mixins ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
models ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
routes ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
search/predicates ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
serializers ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
services ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
sort/comparators ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-01 15:45:09 +00:00
utils ui: Ensure dc selector correctly shows the currently selected dc (#11380) 2021-10-26 19:26:04 +01:00