Jeff Mitchell
6ddfe407a3
Update allowed formats of ACL strings ( #508 )
2020-10-01 01:49:20 -04:00
Jeff Mitchell
a38f40606e
Create default roles in scopes to allow authentication and listing scopes/auth methods ( #502 )
2020-09-29 20:38:16 -04:00
Todd Knight
fd0da998e8
SDK error revamp ( #432 )
...
SDK methods now return 1 error. To differentiate between Client errors and Server errors I've also implemented the AsServerError function which returns an *api.Error if it is an error originating from the remote server or nil otherwise.
2020-09-24 14:34:58 -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
a00ee7a948
Add Result types to Go SDK and properly populate body/map fields ( #358 )
2020-09-15 01:08:21 -04:00
Jeff Mitchell
f94f21fd97
Update API codes ( #336 )
2020-09-08 23:57:26 -04: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
Jeff Mitchell
17ecb6f2ce
Separate accounts/host catalogs/host sets into their own packages ( #311 )
2020-08-27 20:43:33 -04:00
Jeff Mitchell
8f579c75c3
paum -> ampw ( #303 )
2020-08-25 00:21:08 -04:00
Jim
9570897032
basic keys mgmt repo ( #264 )
2020-08-19 16:47:18 -04:00
Jeff Mitchell
282177afc2
Remove the default org ( #270 )
2020-08-17 15:38:41 -04:00
Jeff Mitchell
bb6b189513
Create a default role on new scope creation ( #265 )
2020-08-13 17:39:48 -04:00
Jeff Mitchell
419e2146d4
Revert "Move api tests to internal package to remove issue with external resources depending on internal libs"
...
This reverts commit 326086e352 .
2020-08-12 17:19:21 -04:00
Jeff Mitchell
326086e352
Move api tests to internal package to remove issue with external resources depending on internal libs
2020-08-12 17:06:09 -04:00
Jeff Mitchell
c195c4bc9b
Remove disabled property and sync up field ordering and numbering ( #259 )
2020-08-12 13:00:49 -04:00
Jeff Mitchell
4cfab04307
Migrate user name to login name ( #255 )
2020-08-11 17:25:00 -04:00
Jeff Mitchell
6661117d4c
The name. The name. The name!
2020-08-10 17:15:02 -04:00
Jeff Mitchell
827d86bef1
Update API role tests and fix the structure of the protos so versioning works
2020-08-08 17:46:41 -04:00
Jeff Mitchell
388a13b10d
Convert scopes to the new paradigm ( #206 )
2020-07-22 00:14:28 -04:00
Todd Knight
5bb13e71fe
Include Principals and Grants on Roles When Updating the Role. ( #203 )
2020-07-17 09:31:10 -07:00
Todd Knight
28dbcd84bd
Authenticate Handler API and SDK, and much more ( #183 )
2020-07-14 17:32:47 -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
Todd Knight and Jeff Mitchell
847ca1cc78
Grant management added to Roles API and SDK ( #185 )
...
* Adding grants related methods to Roles.
* Adding grants back after the merge of Principals.
* Adding tests for Grant related custom methods.
* Improving api handler methods.
* Fixing tests and sdk field.
* Adding todos for adding principals and grants to List and Update Role responses.
* Fix up Set* tests and fix SetPrincipals bug.
* Making AddPrincipals and RemovePrincipals similar to the tests for AddGrants and RemoveGrants.
* Add JSON grants to output (#187 )
I also changed canonical_grants to grants_canonical and used
grants_json. I believe that when members are simply different formats of
other members this is the preferred way to have it in the API. Let me
know if you disagree and we can dig in more.
* Regenerate the API role resource.
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2020-07-10 17:42:47 -07:00
Todd Knight and Jeff Mitchell
1ddc59f81e
Adding principal custom methods to roles handler. ( #180 )
...
* Adding Add/Set/Remove principals API calls.
* Add SDK custom methods.
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2020-07-10 11:21:11 -07:00
Todd Knight
2727917b2a
Adding List to go SDK ( #164 )
2020-07-02 10:26:31 -07:00
Todd Knight
9a1539867e
Adding SDK ability to do CRUD operations on groups and roles under the project scope. ( #157 )
2020-06-30 10:25:58 -07:00
Todd Knight
5b1e4a680d
Create Role CUDLR API and SDK ( #135 )
...
* Implement the Role CRUD API.
* Implement the Role List API.
* Adding Roles SDK.
2020-06-22 06:56:27 -07:00