Explained types of users in README.md file.

This commit is contained in:
2025-04-07 12:54:28 +03:00
parent eb16b34a4f
commit d4c5037606

View File

@@ -29,7 +29,8 @@ This repository includes:
- [Test your setup](#test-your-setup) - [Test your setup](#test-your-setup)
- [Using the `status` command:](#using-the-status-command) - [Using the `status` command:](#using-the-status-command)
- [Using the `test_setup` command:](#using-the-test_setup-command) - [Using the `test_setup` command:](#using-the-test_setup-command)
- [Create your first admin user](#create-your-first-admin-user) - [Run it and make it available to use](#run-it-and-make-it-available-to-use)
- [Create your first admin user](#create-your-first-admin-user)
## Getting Started ## Getting Started
@@ -220,7 +221,13 @@ Config file loaded successfully.
## Create your first admin user ## Run it and make it available to use
First make sure it is running by calling the `db-middleware start` command.
### Create your first admin user
We have two types of users, admin and regular (called just user), the admin can add/update/delete database connections, and create/delete normal users.
We recommend creating one admin user, and use that to create normal users via the API. We recommend creating one admin user, and use that to create normal users via the API.
@@ -238,6 +245,8 @@ Enter role (admin/user): admin
+-----------------------------------------------------------------------------+ +-----------------------------------------------------------------------------+
``` ```
You don't need passwords for this, just the username and role.
--- ---