Jeff Mitchell
412018fbb4
Update misleading Authenticated bool with new name and explanation. ( #1111 )
2021-04-13 17:55:40 -04: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
aa570f4e48
Honor child scope list permissions when recursing ( #1016 )
...
Current behavior is that you need list grant on the parent scope when
recursively listing, and this is sufficient. This is good for
administrative workflows but can be unintuitive for resources that only
exist at a project level. This change allows permissions on the child
scope to also be taken into account, so that you can start a recursive
list from a parent scope without direct list support on that scope but
still get back child scopes for which list access is granted.
This also fixes a bug where visibility of a scope for recursive listing
would be based on whether the user had list resources for roles within
that scope instead of for the resource type in question.
2021-03-24 15:33:04 -04:00
Todd Knight
97b404032b
Add ability to filter List*Requests ( #952 )
2021-02-22 10:09:25 -07:00
Jeff Mitchell
6cd97a4a6e
Add support for recursive listing ( #885 )
2021-01-25 19:37:40 -05: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
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
Todd Knight
f76d5aed9f
Additional validation for add|set|remove methods. ( #527 )
2020-10-02 16:45:32 -07: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
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
60396e4384
Properly populate ScopeInfo from group member actions ( #340 )
2020-09-09 11:37:23 -04:00
Jeff Mitchell
f94f21fd97
Update API codes ( #336 )
2020-09-08 23:57:26 -04:00
Todd Knight
1c2c078e0a
Adding Authz checks that support new pathing ( #328 )
2020-09-04 14:48:11 -07:00
Todd Knight
c55153ff3d
Fix allowed scope checks and added tests for creating in global scope. ( #327 )
2020-09-03 08:02:30 -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
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
Jeff Mitchell
b47cca0329
Add (non-db aspects of) the recovery key workflow ( #286 )
2020-08-20 13:34:03 -04: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
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
Jeff Mitchell
e89e9d1349
Add groups CLI command ( #266 )
2020-08-13 17:35:55 -04:00
Jeff Mitchell
6661117d4c
The name. The name. The name!
2020-08-10 17:15:02 -04:00
Jeff Mitchell
0c18e35b9d
Fix group service proto for versions
2020-08-08 19:27:49 -04:00
Jeff Mitchell
bbd200101f
Move update versioning to query parameter, and fix up scope API tests ( #244 )
...
* Move update versioning to query parameter, and fix up scope API tests
* Add version checks for update requests in other services
2020-08-07 17:56:55 -04:00
Jeff Mitchell
908a299ea3
Convert SDK to the new options API ( #238 )
2020-08-07 12:55:02 -04:00
Todd Knight
ed05652729
Add Handlers for Add/Set/Remove Group Members ( #209 )
...
* Adding members to groups.
* Adding Group membership handler and API methods.
* Adding custom methods to permision actions list.
2020-07-22 15:10:21 -07:00
Jeff Mitchell
388a13b10d
Convert scopes to the new paradigm ( #206 )
2020-07-22 00:14:28 -04:00
Todd Knight and Jeff Mitchell
168ae3a726
Create MaskManager to guarantee wire/storage update mask consistency ( #121 )
...
* Feature: Create MaskManager logic to handle project -> scope update mask logic.
* Updating resource protos and services to use new mask manager setup.
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2020-07-20 11:17:09 -07:00
Jeff Mitchell
acce195dcb
Organizations -> orgs consistency ( #189 )
...
* Organizations -> orgs consistency
* Fix up some tests and some mistaken substitutions
2020-07-11 12:00:49 -04:00
Todd Knight
c44a4c4795
Tools for auth token interception and authentication ( #152 )
2020-07-07 12:14:26 -07:00
Todd Knight
8399764442
Roles and Groups Handlers Support Project Scope ( #154 )
...
* Adding project level scopes for groups and roles.
* Adding tests to verify the routes are working as expected.
2020-06-29 11:12:40 -07:00
Jeff Mitchell
d8f11af4d7
Move actions, resource (types), and scopes to packages. ( #149 )
2020-06-26 11:00:14 -04:00
Todd Knight
766c174fe9
Implement List Groups ( #133 )
...
* Implement List Groups
* Updating ListGroup's comments and tweaking variable name.
2020-06-22 10:46:45 -07:00
Todd Knight
6ea448a7f3
Adding Groups API endpoint and SDK ( #122 )
...
* feat: Add group grpc handler.
* feat: Add group sdk hooks.
* fix: Adding forgotten generated group sdk file.
* fix: Fix a copy/paste error in test msg.
* fix: Correct assert error msg.
* fix: Remove unused proto imports.
2020-06-15 15:22:41 -07:00