Single-Tenant
Last updated
Last updated
The single-tenant mode scopes the application data to a single tenant.
Let's use the demonstration application as an example. Every customer, product, or order that you create, will be available to all users of the platform to access, restricting only on their roles and permissions to access it.
By default, when you register the first user, they will be set as the admin of the application.
New users will have to wait until the admin invite or give them permission.
You can override this behavior on the code and assign default permissions to users.
The file that contains this logic is backend/src/services/auth/authService.ts
.
Read the Architecture > Security section for more information.