docs: tsx,nextjs,frontends (23 files)

This commit is contained in:
2025-12-26 02:24:42 +00:00
parent 0a5e2287c7
commit 59b205b19c
23 changed files with 25 additions and 12 deletions

View File

@@ -129,7 +129,7 @@ metabuilder/
---
## 5-Level Permission System
## 6-Level Permission System
Hierarchical access control where each level inherits all permissions from lower levels:
@@ -137,20 +137,22 @@ Hierarchical access control where each level inherits all permissions from lower
|-------|------|--------|-------|
| 1 | Public | Read-only, unauthenticated | `/` |
| 2 | User | Personal dashboard, content creation | `/dashboard` |
| 3 | Admin | User management, system settings | `/admin` |
| 4 | God | Workflows, advanced scripting, packages | `/builder` |
| 5 | Supergod | Full system control, tenant management | `/supergod` |
| 3 | Moderator | Moderation desk, flag review, report handling | `/moderator` |
| 4 | Admin | User management, system settings | `/admin` |
| 5 | God | Workflows, advanced scripting, packages | `/builder` |
| 6 | Supergod | Full system control, tenant management | `/supergod` |
### Permission Matrix
| Feature | L1 | L2 | L3 | L4 | L5 |
|---------|----|----|----|----|----|
| View Public Data | ✓ | ✓ | ✓ | ✓ | ✓ |
| Authenticate | | ✓ | ✓ | ✓ | ✓ |
| Create Content | | ✓ | ✓ | ✓ | ✓ |
| Manage Users | | | ✓ | ✓ | ✓ |
| Run Workflows | | | | ✓ | ✓ |
| System Configuration | | | | | ✓ |
| Feature | L1 | L2 | L3 | L4 | L5 | L6 |
|---------|----|----|----|----|----|----|
| View Public Data | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Authenticate | | ✓ | ✓ | ✓ | ✓ | ✓ |
| Create Content | | ✓ | ✓ | ✓ | ✓ | ✓ |
| Moderate Content | | | | ✓ | ✓ | ✓ |
| Manage Users | | | | ✓ | ✓ | ✓ |
| Run Workflows | | | | | | ✓ |
| System Configuration | | | | | | ✓ |
### Usage
@@ -861,6 +863,17 @@ DEBUG=metabuilder:* npm run dev
---
# new text
## Documentation ...
...
## Quick Links
- ...
## License
MIT License - See LICENSE file