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,6 +29,7 @@ This repository includes:
- [Test your setup](#test-your-setup)
- [Using the `status` command:](#using-the-status-command)
- [Using the `test_setup` command:](#using-the-test_setup-command)
- [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)
@@ -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.
@@ -238,6 +245,8 @@ Enter role (admin/user): admin
+-----------------------------------------------------------------------------+
```
You don't need passwords for this, just the username and role.
---