mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat: add namespace-based multi-user isolation
Implement namespace support across sessions, machines, and users for multi-user server deployments. Add access control with specific error reasons (namespace-missing, access-denied, not-found) and database schema updates with namespace columns and indexes.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ React Mini App / PWA for monitoring and controlling hapi sessions.
|
||||
## Runtime behavior
|
||||
|
||||
- When opened inside Telegram, auth uses Telegram WebApp init data.
|
||||
- When opened in a normal browser, you can log in with the shared `CLI_API_TOKEN`.
|
||||
- When opened in a normal browser, you can log in with `CLI_API_TOKEN:<namespace>` (or `CLI_API_TOKEN` for the default namespace).
|
||||
- The login screen includes a top-right server picker; if unset, the app uses the same origin it was loaded from.
|
||||
- Live updates come from the server via SSE.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user