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

A0CLI-47: add initial role support. #60

Merged
merged 1 commit into from
Jan 27, 2021
Merged

A0CLI-47: add initial role support. #60

merged 1 commit into from
Jan 27, 2021

Conversation

rene00
Copy link
Contributor

@rene00 rene00 commented Jan 27, 2021

Description

This PR adds initial Role support to auth0-cli.

List all roles:

$ auth0 roles list

Create a new role:

$ auth0 roles create --name myRoleName --description myRoleDescription

Get an existing role:

$ auth0 roles get --role-id myRoleID

Update a role:

$ auth0 roles update --role-id myRoleID --name myNewRoleName --description myNewRoleDescription

Delete a role:

$ auth0 roles delete --role-id myRoleID

Demo in slack thread.

References

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

@rene00 rene00 self-assigned this Jan 27, 2021
Copy link
Contributor

@cyx cyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@rene00 rene00 merged commit 5115f68 into main Jan 27, 2021
@rene00 rene00 deleted the a0cli-47-roles branch January 27, 2021 03:09
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

Successfully merging this pull request may close these issues.

2 participants