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:
ar.badiei
2026-09-21 08:00:24 +03:30
co-authored by Cursor
parent 8016b8f45e
commit c6243caa35
104 changed files with 15654 additions and 415 deletions
+4
View File
@@ -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