s-christoff and Jim
6b78108ecf
Update primary error functions to take a context, deprecate old functions ( #1358 )
...
* add new error funcs which take a ctx and deprecate existing funcs
* use context where available when writing error events
* remove circular internal/errors pkg dep
* suppress some chatty errors using errors.WithoutEvent()
* convert auth oidc funcs to take context where needed to write events
Co-authored-by: Jim <jlambert@hashicorp.com >
2021-07-29 20:52:56 -04:00
Jim
75108cbc8b
Ongoing OIDC: return the primary account info along with the user. ( #1145 )
2021-04-20 20:33:56 -04: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
70a5899e99
ICU-739/iam domain error refactor ( #841 )
...
* Refactor iam errors
* Update db and host doTx error ops
* Changelog
2020-12-23 11:00:00 -08:00
Jim
af6ef1b687
Refactor existing sentinel errors ( #774 )
2020-11-05 16:54:03 -05:00
Michael Gaffney
de162c5533
Replace and remove ErrNilParameter with ErrInvalidParameter ( #295 )
2020-08-25 12:18:14 -04:00
Jeff Mitchell
73a38b1433
Remove some unneeded resource types and fix the resource typing for default role in global scope ( #256 )
2020-08-12 00:02:26 -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
Michael Gaffney
e03a0ff9d7
Simplify SetTableName pattern ( #214 )
2020-07-23 17:58:41 -04:00
Jim
c83e90ed38
implement SetTableName patttern that allows table name to be set back to the default for the storage type. ( #196 )
2020-07-17 16:20:56 -04: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
bcdcaffa6f
Port over 162 and 165 to master ( #176 )
...
Co-authored-by: Jim Lambert <jlambert@hashicorp.com >
Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com >
2020-07-10 15:46:26 -04:00
Jeff Mitchell
d8f11af4d7
Move actions, resource (types), and scopes to packages. ( #149 )
2020-06-26 11:00:14 -04:00
Jim
5c2cff3ad2
iam groups ( #112 )
2020-06-11 16:36:47 -04:00
Jim
7d4993fb61
iam users ( #96 )
2020-06-04 20:05:08 -04:00