vault/ui/tests/unit/utils
Chelsea Shaw b833b30315
UI: always send capabilities-self request in user's root namespace (#24168)
* Add getRelativePath helper and use to calculate relativeNamespace

* Always request capabilities-self on users root ns and prefix body with relative path

* Update capabilities adapter with test

* add changelog

* Simplify getRelativePath logic

* test update
2023-11-20 13:21:00 -06:00
..
api-path-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
chart-helpers-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
common-prefix-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
decode-config-from-jwt-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
key-utils-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
kv-breadcrumbs-test.js Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
kv-path-test.js Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
openapi-helpers-test.js run copywrite headers (#23788) 2023-10-23 15:53:56 +00:00
openapi-to-attrs-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
sanitize-path-test.js UI: always send capabilities-self request in user's root namespace (#24168) 2023-11-20 13:21:00 -06:00
sort-objects-test.js UI: helper sort-objects to alphabetize list items (#24103) 2023-11-14 21:57:29 +00:00
timestamp-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
trim-right-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
validators-test.js [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00