Logo
Explore Help
Sign In
HyperSpaceOut/jackboxpartypack-gamepicker
3
0
Fork 0
You've already forked jackboxpartypack-gamepicker
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
ea23b66cbf2b9b0a487059cef9f8f148b0d17a21
jackboxpartypack-gamepicker/backend/config/admins.example.json

6 lines
213 B
JSON
Raw Normal View History

feat: add admin config loader with multi-key support Made-with: Cursor
2026-03-23 03:46:09 -04:00
[
feat: role-aware presence bar, WebSocket logging fixes - findAdminByKey returns role from admins.json (defaults to 'admin') - JWT includes config-defined role instead of hardcoded 'admin' - PresenceBar split into "who's here?" (page admins) and "connected" (bot/utility services with icon+color badges) - Bot/utility roles appear in presence on all pages when connected - usePresence hook uses refs to avoid WS reconnect on navigation - WS auth log prints admin name instead of generic 'admin' - WS connection log reads X-Forwarded-For for real client IP - AuthContext stores adminRole from login response - Uncomment admins.json Docker volume mount, add SELinux :z flags Made-with: Cursor
2026-04-05 04:27:07 -04:00
{ "name": "Alice", "role": "admin", "key": "change-me-alice-key" },
{ "name": "Bob", "role": "bot", "key": "change-me-bob-key" },
{ "name": "Charlie", "role": "utility", "key": "change-me-charlie-key" }
feat: add admin config loader with multi-key support Made-with: Cursor
2026-03-23 03:46:09 -04:00
]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 36ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API