Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

triton rbac role[s] should support new role API #264

Closed
arekinath opened this issue Apr 18, 2019 · 1 comment
Closed

triton rbac role[s] should support new role API #264

arekinath opened this issue Apr 18, 2019 · 1 comment

Comments

@arekinath
Copy link
Contributor

arekinath commented Apr 18, 2019

In CloudAPI we rev'd to accept-version: 9.0.0 in order to change the RBAC role endpoints to take lists of objects for policy and members instead of strings. This enables us to create cross-account role membership (by adding a member that looks like {'type': 'account', 'login': 'foobar'}) and be less loosy goosy with whether things are a UUID or login name. It also takes away the separate default_members array and replaces it with {'default':true/false} on each of the members objects.

It would be useful to use this new API to make the interface for roles a little less daunting and allow the use of the new features.

https://apidocs.joyent.com/cloudapi/#roles is the docs on the new object format and the fields on them

arekinath added a commit to arekinath/node-triton that referenced this issue Aug 21, 2019
joyent-automation pushed a commit that referenced this issue Aug 27, 2019
Reviewed by: Trent Mick <trent.mick@joyent.com>
Approved by: Trent Mick <trent.mick@joyent.com>
@trentm trentm mentioned this issue Aug 28, 2019
@trentm
Copy link
Contributor

trentm commented Aug 28, 2019

This is in and published in triton@7.5.0. Thanks!

@trentm trentm closed this as completed Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants