s-christoff
0f424f6f7f
Refactor internal/servers/controller/handlers errors v2 ( #1099 )
2021-04-16 12:06:03 -05:00
dd0f34bc35
Add new OIDC auth method. ( #1090 )
...
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com >
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com >
2021-04-08 20:54:32 -04:00
s-christoff
5c5b07c04a
Revert "Refactor internal/servers/controller/handlers errors ( #1070 )" ( #1092 )
...
This reverts commit 21ac3cdddd .
2021-04-08 19:20:36 -05:00
s-christoff
21ac3cdddd
Refactor internal/servers/controller/handlers errors ( #1070 )
2021-04-08 17:48:57 -05:00
Jeff Mitchell
3c430678ae
Fix test scope errors ( #1029 )
...
When using a disabled verifier context we were faking scope information. Due to other recent changes, this was now causing test errors. This adjusts that flow to actually query the DB, fixing tests and making them more like real code.
2021-03-25 03:15:43 -04:00
Louis Ruch
7387cec475
Remove sentinel errors ( #968 )
...
* Remove sentinal errors
2021-03-05 06:34:06 -08:00
Todd Knight
97b404032b
Add ability to filter List*Requests ( #952 )
2021-02-22 10:09:25 -07:00
Jeff Mitchell
dcb15cffbd
Add authorized actions output on resources ( #870 )
2021-01-20 10:53:01 -05:00
Michael Gaffney and Jeff Mitchell
94cb79bbdd
See how Boundary would look with gofumpt applied ( #853 )
...
* See how Boundary would look with https://github.com/mvdan/gofumpt applied
Results of running `gofumpt -w -s .`
* Update tools file and Makefile for gofumpt
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2021-01-07 10:02:32 -05:00
Louis Ruch
bfbb179741
ICU-738/Refactor internal/db to domain errors ( #815 )
...
* Refactor internal/db to domain errors
2020-12-21 10:07:34 -08:00
Jeff Mitchell
a37ba007f2
Update deps ( #772 )
...
* Update deps
This also updates for the new (and required) paradigm for registering
service implementations as spelled out in
https://github.com/grpc/grpc-go/issues/3385
* Roll back dockertest
2020-11-11 14:41:05 -05:00
Jim
af6ef1b687
Refactor existing sentinel errors ( #774 )
2020-11-05 16:54:03 -05:00
Lars Lehtonen
0c959cbb71
internal/servers/controller/handlers/accounts: fix dropped test errors ( #733 )
2020-10-20 09:13:57 -04:00
Todd Knight
11fd0d0300
Fixing some API error and comment copy/paste errors. ( #580 )
...
* Fixing some error and comment copy/paste errors.
* Fix roles in project scope error message.
2020-10-08 12:36:01 -07:00
Jeff Mitchell
b76cc95425
Make fmt
2020-10-06 13:17:28 -04:00
Todd Knight
14f9fc9173
Removing status from all handlers, repo errors are passed on directly for the most part to be intercepted and translated by the API error handler. ( #447 )
2020-09-25 13:41:20 -07:00
Todd Knight
278902db1a
Allow target type field to be included in an update. ( #412 )
2020-09-23 08:30:25 -07:00
Todd Knight
2f8d7f0a32
API Errors: Hide and log internal errors ( #411 )
2020-09-23 08:10:27 -07:00
Jeff Mitchell
6a09e0966e
Fix some broken tests that were expecting nil but are now getting an empty struct
2020-09-21 16:03:47 -04:00
Todd Knight
21f5cc274f
Don't return nil, nil for API service methods. Add tests for updating w/ wrong version. ( #396 )
2020-09-21 15:09:30 -04:00
Jeff Mitchell
f94f21fd97
Update API codes ( #336 )
2020-09-08 23:57:26 -04:00
Todd Knight
99d5456d7a
Scopes type field and types in updates allowed ( #335 )
2020-09-08 16:04:19 -07:00
Todd Knight
c3ecea172d
Generate new version of SDK resources and Add Tests ( #331 )
2020-09-08 16:27:51 -04:00
Todd Knight
1c2c078e0a
Adding Authz checks that support new pathing ( #328 )
2020-09-04 14:48:11 -07:00
Todd Knight
37e56ab46b
Pathing updated to support new and old styles ( #323 )
2020-09-02 19:43:41 -07:00
Jeff Mitchell
20aef738c4
Add host-catalogs CLI command. ( #312 )
2020-08-28 00:17:09 -04:00
Jeff Mitchell
17ecb6f2ce
Separate accounts/host catalogs/host sets into their own packages ( #311 )
2020-08-27 20:43:33 -04:00
Todd Knight
e423b6589e
Request Validation logic moved into a helper ( #296 )
...
* Move all the validation logic into a helper tool.
* Adding tests for verifier helpers.
2020-08-21 08:15:32 -07:00
Jim
9570897032
basic keys mgmt repo ( #264 )
2020-08-19 16:47:18 -04:00
Todd Knight
eaae887bbe
Don't require type for children of subtyped resources. ( #285 )
2020-08-19 10:51:15 -07:00
Todd Knight
d86e58476f
Version can be passed through request body ( #281 )
...
* Scopes inline version into update request body.
* Users inline version into update request body.
* Group inline version into update and add|set|remove member request body.
* Role inline version into update and add|set|remove grant|principal request body.
* Auth method inline version into update request body.
* Auth Account inline version into update request body.
* host catalog version is inlined for update.
* Gen after merge.
* Submitting template changes for version handling.
2020-08-18 17:38:38 -07:00
Todd Knight
e14f968fc3
Account (Set|Change)Passsword ( #267 )
2020-08-17 09:37:15 -07:00
Jeff Mitchell
7b36571788
Change auth validity feedback ( #273 )
...
* Change auth validity feedback
Move from a bool indicating validity to lack of an error. This allows
the error to be directly returned and typed.
* Fix erroneous line
2020-08-16 00:42:36 -04:00
Todd Knight
23b437894a
Masks can now update attribute fields. ( #271 )
2020-08-14 14:08:12 -07:00
Todd Knight
245c7fbb44
Add Account Update handler ( #257 )
...
* Allow updating accounts (not username or pw).
* Updating new field names to LoginName.
* Adding creation with password test.
* Fixing documentation for WithLoginName
2020-08-12 08:20:35 -07:00
Jeff Mitchell
4cfab04307
Migrate user name to login name ( #255 )
2020-08-11 17:25:00 -04:00
Jeff Mitchell
565059ed63
Add versioning to auth methods and accounts ( #249 )
2020-08-11 11:19:29 -04:00
Jeff Mitchell
6661117d4c
The name. The name. The name!
2020-08-10 17:15:02 -04:00
Jeff Mitchell
908a299ea3
Convert SDK to the new options API ( #238 )
2020-08-07 12:55:02 -04:00
Todd Knight
b7bf76a9ba
Auth Method API Handler for CRUDL (not updating password specific fields)( #239 )
2020-08-06 12:50:20 -07:00
Todd Knight
e5ec1f48b2
Account API handler for CRDL operations ( #228 )
2020-08-05 10:19:55 -07:00