View Source mix nerves_hub.org (nerves_hub_cli v2.0.0)
Manages an organization
Managing user roles
The following functions allow the management of user roles within your organization. Roles are a way of granting users a permission level so they may perform actions for your org. The following is a list of valid roles in order of highest role to lowest role:
admin
delete
write
read
NervesHub will validate all actions with your user role. If an action you are
trying to perform requires write
, the user performing the action will be
required to have an org role of write
or higher (admin
, delete
).
Managing user roles in your org will require that your user has the org role of
admin
.
user list
List the users and their role for the organization.
mix nerves_hub.org user list
user add
Add an existing user to an org with a role.
mix nerves_hub.org user add USERNAME ROLE
user update
Update an existing user in your org with a new role.
mix nerves_hub.org user update USERNAME ROLE
user remove
Remove an existing user from having a role in your organization.
mix nerves_hub.org user remove USERNAME