Skip to main content

Add Users

You can add other people to your Runops organization or let them register themselves.

Add Users#

Portal#

Only users that belong to the admin group can manage users. Head over to https://use.runops.io/users and create users.

Command-line#

Only users that belong to the admin group can manage users.

runops users create \
--name "Michale Scotch" \
--email "michael@dundermifflin.com" \
--team "engineering" \
--groups "dev,support"

Groups#

Groups is a role based access control (RBAC) mechanism that allows admins to restrict runops users to access only certain resources. Groups is a comma separated string that defines all groups that an user belongs to. The groups declared in the user will allow this user to only access other resources (like targets, or approve tasks) whose groups match one of their groups. For instance, the above statement will allow this user to only use targets whose groups is either dev or support. Also if a target have a review flow configured, this user will be able to approve only tasks whose groups is either dev or support.

Self Register#

Users can request access to Runops from Slack, Portal, and CLI. In all cases, an operator has to approve the new user before they receive access. Runops sends a Slack message with the user information for approval to the operators.

Slack#

/runops register

Anyone in your Slack workspace can type /runops register and start the registration flow.

Portal#

Any users with an email from your organization can start the registration flow from the Runops portal: https://use.runops.io

Command-line#

runops signup

Any users with an email from your organization can start the registration flow from the CLI.

After approval of the user from one of the operators in Slack the user needs to continue the signup from the CLI to link their user to Slack. Running runops signup again will finish the setup and enable the user in Slack and the Command-line.

Activating users#

After users self-register, operators can approve their accounts in 3 different ways:

Slack#

The first admin of the Runops organization receives a message in Slack with a review card, from the Runops bot, where they can activate the new user.

Portal#

A user with the admin group can edit the user in the portal and set update the status from reviewing to active

Command-line#

A user with the admin group can edit the user using the CLI and set update the status from reviewing to active

runops users update \
--id 2
--status active

You can find the id of the user with: runops users list