Manage users and roles¶
Permissions
Only users with ROLE_MANAGER
permissions can perform these actions.
Tip
You can also manage users directly from the agent.config file or from the terminal. See the CLI reference for more details.
Administrators can manage users and their permissions as follows:
To navigate to Users management in the Management Portal¶
- Log in to your Lightrun account
- Click Settings located at the bottom left corner of your Management Portal.
- Select Users under Organization Settings in the settings menu.
The Users Management screen loads and appears similar to the following:
Onboard new users¶
To onboard new users to Lightrun, you need to invite them first. Once they join the organization's account, you can give them the relevant permissions.
To invite new users to your Lightrun account¶
- Log in to your Lightrun account
-
Click Invite member located at the bottom left corner of your Management Portal. The Invite member screen loads and appears similar to the following:
The Invite member page has 2 sections:
- Invite new users
- Pending Invites
-
Copy and send the invite link to the users in a secure manner of your choice, or
- Enter the intended email addresses separated by commas and then click Send
Once the user receives the invitation, by mail or through the invite link, they will be redirected to a registration page. They can create their account, and log in to access their Management Portal.
Invited users who have registered their accounts can be seen on the Users Management page. The list of your pending invitations can be seen in the Pending Invites section.
Single Sign-On (SSO)¶
Lightrun allows organizations to manage their employees' access to Lightrun with an external Identity Provider (IDP) like Okta, Auth0, Ping Identity, etc., using the Single Sign-On (SSO) feature.
Please contact our support team for more information on configuring SSO, supported SSO protocols, accepted IDP providers, and what to expect after configuring SSO for your organization.
To login to your Lightrun account with SSO¶
- Navigate to the Lightrun Management Portal login page.
- Click the Single Sign-On button to open the Single Sign-On page.
-
Enter your email address and click Log in.
A login link will be sent to your email address.
-
Click the link to redirect to your organization's configured IDP provider to authenticate your Lightrun account.
Manage existing users¶
Administrators can create, edit, and remove users. Administrators can also assign users roles that can help the user perform specific actions. The following table describes the available roles and their permitted actions:
Roles | Permissions |
---|---|
role_manager | Additional capabilities enabling server and user management, such as creating and removing users, clearing exceptions, managing integrations, etc. |
role_ignore_quota | Permissions to ignore the system quota; the quota controls use of CPU, Networking, Memory, excessively long strings, too many instructions printing out, protection from infinite loops, etc. |
role_set_value | Permissions to insert actions with functions and other methods that might change values in the code. |
role_user | Standard permissions to insert actions and view resulting data. |
To create a new user¶
- Navigate to the User Management screen.
- Click Create new user. The Edit User window pops up with empty fields.
- Complete the fields with relevant details.
- To enable the user immediately, toggle the Activated button to green.
- Add permissions from the User Roles window: click on the relevant role. To add multiple roles, press
CTRL
orcommand
on mac, and click on the relevant roles.
To view user details¶
You can view the permissions and details that were entered for a user when created or modified, as well as the creation and modification details.
- Navigate to the User Management screen.
- From the row for the relevant user click the
View Icon. The User details window pops up.
To edit existing users¶
- Navigate to the User Management screen.
- From the row for the relevant user click
Edit Icon. The Edit User window pops up with empty fields.
- Complete the fields with relevant details.
- To activate or deactivate the user, toggle the Activated button to green.
- Add or remove permissions from the User Roles window: click on the relevant role to add or remove it. To add multiple roles, press
CTRL
, and then click on the relevant roles.
To remove a user¶
-
Navigate to the User Management screen.
-
From the row for the relevant user, toggle the Active button to grey.
The Delete icon now appears on the row.
-
Click
.
The Confirm window pops up:
-
When prompted, click Delete to remove the user.