View Source NervesHubCLI.CLI.Org (nerves_hub_cli v2.1.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.

nerves_hub user list

user add

Add an existing user to an org with a role.

nerves_hub user add USERNAME ROLE

user update

Update an existing user in your org with a new role.

nerves_hub user update USERNAME ROLE

user remove

Remove an existing user from having a role in your organization.

nerves_hub user remove USERNAME

Summary

Functions

render_help()

@spec render_help() :: no_return()

run(args)

user_add(org, username, role, auth \\ nil)

user_list(org)

user_remove(org, username)

user_update(org, username, role)