Commit Graph
15 Commits
Author SHA1 Message Date
Jeff Mitchell 72aa110f72 CLI JSON updates (#962)
See Changelog for details.
2021-02-25 12:43:17 -05:00
Jeff Mitchell 341e7aff0d CLI Generation (#953) 2021-02-23 19:06:39 -05:00
Jeff Mitchell 22462cdd84 Add read:self and cancel:self to sessions; add dev unpriv user (#923)
* Sessions support for read:self and cancel:self permissions. This is automatic with fallback; no API change is needed.

* Strips out values from listing if only self actions are allowed on the resource and the user ID is different. This prevents a default ACL of id=*;type=session;actions=read:self,cancel:self from causing all values to be visible when listing.

* Adds an unprivileged user to development/testing instances. This user has only default permissions plus the ability to authorize sessions in the default target.
2021-02-11 13:14:18 -05:00
Jeff Malnick 10a5f1b832 test: add tests for authorized-action (#893) 2021-01-29 08:04:46 -08:00
Jeff Malnick 76a891cfe2 tests: remove testing of revision output for now (#667) 2020-10-14 07:29:31 -07:00
Jeff Malnick e08ab98a2b tests: add CLI tests for version output (#664) 2020-10-13 12:34:38 -07:00
Jeff Malnick dfa94c7990 tests: allow overriding auth variables in CLI tests (#647)
* tests: ensure default user can connect to default target and ensure created target has intended host sets

* docs: update readme for CLI tests with how to run against arbitrary clusters

* feat: override auth variables in CLI tests
2020-10-13 07:41:32 -07:00
Jeff Malnick 7f48e2edc6 tests: ensure default user can connect to default target and ensure created target has intended host sets (#646) 2020-10-13 07:41:14 -07:00
Jeff Malnick 3c1670c0d0 tests: add scopes CLI tests (#645) 2020-10-12 21:15:49 -07:00
Jeff Malnick 70e696a446 tests: add roles CLI tests (#644) 2020-10-12 20:57:57 -07:00
Jeff Malnick cad8949ac8 tests: add host sets CLI tests (#643) 2020-10-12 17:00:34 -07:00
Jeff Malnick bee1412785 tests: add host catalog CLI tests (#639) 2020-10-12 16:44:45 -07:00
Jeff Malnick 0f1fbea8f7 tests: add hosts CLI tests (#638) 2020-10-12 14:56:23 -07:00
Jeff Malnick c4c1e108b0 test: add groups resource CLI tests (#633) 2020-10-12 14:40:32 -07:00
Jeff Malnick 90e1dbe444 tests: add bats tests for testing CLI on arbitrary Boundary deployments (#614) 2020-10-12 10:26:26 -07:00