open-vault/ui/tests/unit
Matthew Irish d56f0ccb72
UI - write without read for kv (#6570)
* wait for all hash promises to be settled

* skeleton tests with policies for write without read

* adjust what gets returned from the model hook

* refactor secret-edit model hook to use async/await

* return a stub version if we can't read secret data

* return a stub model for v1 kv

* tweak tests to make re-runs friendlier

* allow write without CAS if both v2 models cannot be read

* show warnings on edit pages for different write without read scenarios

* add no read empty states on secret show pages

* review feedback

* make message language consistent

* use version models from metadata if we can read it

* refresh route on delete / undelete / destroy

* hide controls in the toolbar when you can't read the secret data

* show deleted / destroyed messaging over cannot read messaging on the show page

* fix test with model stub

* refactor large model hook into several functions

* comment clarifications
2019-04-16 15:27:23 -05:00
..
adapters UI - write without read for kv (#6570) 2019-04-16 15:27:23 -05:00
components/identity Ember update (#5386) 2018-09-25 11:28:26 -05:00
helpers Bug fix - ui context menu (#6018) 2019-01-09 12:30:19 -06:00
lib Consider whole response in UI console when missing auth, data and wrap_info for non writes/deletes (#6073) 2019-01-18 14:02:11 -06:00
machines Dynamic OpenAPI UI (#6209) 2019-02-14 13:52:34 -05:00
mixins Ember update (#5386) 2018-09-25 11:28:26 -05:00
models UI - jwt auth (#6188) 2019-02-14 09:39:19 -06:00
serializers Ember update (#5386) 2018-09-25 11:28:26 -05:00
services allow permissions service to match on glob path that may or may not end in / (#6301) 2019-03-01 15:16:53 -06:00
utils UI - add description as helpText, and add sensitive from x-vault-displaySensitive (#6411) 2019-03-14 16:12:13 -05:00
.gitkeep Moving UI assets to OSS 2018-04-03 09:16:57 -05:00