mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-30 07:40:06 +01:00
a6d06474f4
Co-authored-by: Ivan Yatskevich <ivan@yatskevich.com>
222 lines
5.6 KiB
Markdown
222 lines
5.6 KiB
Markdown
---
|
|
sort: 5
|
|
weight: 5
|
|
title: User Management in Managed VictoriaMetrics
|
|
menu:
|
|
docs:
|
|
parent: "managed"
|
|
weight: 5
|
|
aliases:
|
|
- /managed-victoriametrics/user-managment.html
|
|
---
|
|
# User Management in Managed VictoriaMetrics
|
|
|
|
The user management system enables admins to control user access and onboard and offboard users to the Managed VictoriaMetrics. It organizes users according to their needs and role.
|
|
|
|
The document covers the following topics
|
|
1. [User Roles](#user-roles)
|
|
1. [User List](#user-list)
|
|
1. [How to Add User](#how-to-add-user)
|
|
1. [How to Update User](#how-to-update-user)
|
|
1. [How to Delete User](#how-to-delete-user)
|
|
|
|
## User roles
|
|
|
|
Managed VictoriaMetrics provides different levels of user access. It defines what information users can access and edit in your account.
|
|
|
|
You assign the role to the user during the user creation procedure. You can change the role after the creation
|
|
|
|
|
|
### Roles definition
|
|
|
|
<table>
|
|
<tr>
|
|
<td><strong>User Role</strong></td>
|
|
<td><strong>Categories</strong></td>
|
|
<td><strong>Description</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="5" ><strong>Admin</strong></td>
|
|
<td>Deployments</td>
|
|
<td>
|
|
Access to all deployments tabs and information
|
|
<p>Create, update and delete deployment</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Billing Details</td>
|
|
<td>Check billing information</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Notifications</td>
|
|
<td>Create and update notifications</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Audit Logs</td>
|
|
<td>Can check all information in audit logs</td>
|
|
</tr>
|
|
<tr>
|
|
<td>User Management</td>
|
|
<td>Add, edit and delete users</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="3"><strong>Editor</strong></td>
|
|
<td>Deployments</td>
|
|
<td>
|
|
Access to all deployments tabs and information
|
|
<p>Create, update and delete deployment</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Notifications</td>
|
|
<td>Create and update notifications</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Audit Logs</td>
|
|
<td>Can check all information in audit logs</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Viewer</strong></td>
|
|
<td>Deployments</td>
|
|
<td>Access to Overview, Monitoring, Explore and Alerts deployments tabs and information</td>
|
|
</tr>
|
|
</table>
|
|
|
|
### User statuses
|
|
|
|
|
|
<table>
|
|
<tr>
|
|
<td class="highlight"><strong class="sr">Active</strong></td>
|
|
<td>The user can log in and use Managed VictoriaMetrics. The user role defines the access level.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="highlight"><strong class="s1">Pending Invitation</strong></td>
|
|
<td>An invitation was sent. The user must accept this.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="highlight"><strong class="nn">Inactive</strong></td>
|
|
<td>The user is registered in the Managed VictoriaMetrics but has no access to perform any actions. Admin can activate or completely delete the user.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
## User list
|
|
|
|
It shows all users with different roles, and you can apply provided actions with them.
|
|
|
|
<p>
|
|
<img src="user_management_list.png" width="800">
|
|
</p>
|
|
|
|
In the table, there is additional information about the users:
|
|
|
|
|
|
<table>
|
|
<tr>
|
|
<td>Email:</td>
|
|
<td>Registration user email</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Status:</td>
|
|
<td>Active, Inactive or Pending Invitation</td>
|
|
</tr>
|
|
<tr>
|
|
<td>User Role:</td>
|
|
<td>Admin, Editor or Viewer</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Last Active:</td>
|
|
<td>Last login date and time</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Auth method:</td>
|
|
<td>Auth options to login into the Managed VictoriaMetrics</td>
|
|
</tr>
|
|
</table>
|
|
|
|
## How to Add User
|
|
|
|
Click on `Invite user` button
|
|
the user invitation button and fill out the form in the modal, which will appear after you click. All fields are mandatory.
|
|
|
|
<p>
|
|
<img src="user_management_invite_user.png" width="800">
|
|
</p>
|
|
|
|
After filling out the form, click on the `Invite` button.
|
|
The user will be saved, and an invitation email to the provided email address will be sent. As a confirmation, you will see the success message.
|
|
|
|
**The invitation link is only active for 24 hours.**
|
|
|
|
The user will be at Pending Invitation status. After accepting the invitation user status changes to Active.
|
|
|
|
<p>
|
|
<img src="user_management_invite_success.png" width="800">
|
|
</p>
|
|
|
|
## How to Update User
|
|
|
|
To edit the user role and details, activate or deactivate a user, and click on
|
|
|
|
<p>
|
|
<img src="user_management_update_user.png" width="800">
|
|
</p>
|
|
or `user email` to edit the user.
|
|
|
|
User editing form:
|
|
|
|
<p>
|
|
<img src="user_management_user_update_form.png" width="800">
|
|
</p>
|
|
|
|
To save changes, click the `Save changes` button. If changes are saved successfully, you will see a message at the top of the page.
|
|
|
|
<p>
|
|
<img src="user_management_user_updated_success.png" width="800">
|
|
</p>
|
|
|
|
## How to Delete User
|
|
|
|
You can delete a user from your account. However, you will need to invite them again if you want to give them access.
|
|
|
|
Click on `Delete` button to delete the user.
|
|
|
|
<p>
|
|
<img src="user_management_user_delete.png" width="800">
|
|
</p>
|
|
|
|
To confirm the deletion of a user, you will need to re-enter their email address and press the **Delete** button
|
|
|
|
<p>
|
|
<img src="user_management_delete_user_form.png" width="800">
|
|
</p>
|
|
|
|
You will be redirected to the main page with a success or error message
|
|
|
|
<p>
|
|
<img src="user_management_delete_sucess.png" width="800">
|
|
</p>
|
|
|
|
## How to resend invitation
|
|
|
|
If the invitation is expired, it is possible to resend email to the user
|
|
|
|
Click `Resend invitation` button
|
|
|
|
<p>
|
|
<img src="user_management_resend_invitation.png" width="800">
|
|
</p>
|
|
|
|
Confirm resend invitation by clicking `Resend` button in the modal dialog
|
|
|
|
<p>
|
|
<img src="user_management_confirm_resend_invitation.png" width="800">
|
|
</p>
|
|
|
|
If invitation successfully resented to the user success message will appear
|
|
|
|
<p>
|
|
<img src="user_management_resend_success.png" width="800">
|
|
</p>
|