Add read-only Noya admin panel with assignments and UX polish.
Ship admin auth, user overview, assessments, chats, assignment filters/export, security hardening, and a separate desktop admin shell with clearer assessment answers. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -23,6 +23,10 @@ AUTH_RATE_LIMIT_MAX=20
|
||||
# Auth sessions (opaque token; 168 hours = 7 days). Refresh tokens are not implemented.
|
||||
AUTH_SESSION_TTL_HOURS=168
|
||||
|
||||
# Admin bootstrap: comma-separated emails that may be auto-promoted to role=admin on login/register.
|
||||
# Runtime /admin access still requires users.role === admin in the database (not ENV alone).
|
||||
ADMIN_EMAILS=
|
||||
|
||||
# AI runtime (backend-only — never VITE_*)
|
||||
OPENAI_API_KEY=
|
||||
OPENAI_BASE_URL=https://api.gapgpt.app/v1
|
||||
|
||||
Reference in New Issue
Block a user