docs: tools,misc,setup (11 files)

This commit is contained in:
2025-12-26 02:27:39 +00:00
parent 1c8094e0ac
commit aea1d20329
11 changed files with 2 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ This system uses **levels** (hierarchical) rather than roles (flat):
```
// Hierarchical (Levels) - Used in MetaBuilder
if (user.level >= 3) { /* Has all lower permissions too */ }
if (user.level >= 4) { /* Has all lower permissions too */ }
// Flat (Roles) - Not used
if (user.hasRole('admin')) { /* Only admin, no inheritance */ }
@@ -187,7 +187,7 @@ model User {
id String @id @default(cuid())
email String @unique
password String
level Int // 1-5
level Int // 1-6
tenant Tenant @relation(fields: [tenantId], references: [id])
tenantId String
}