Add dual user classes: admin + tech users with PIN login
- Add tech user management (JSON-backed CRUD with PIN auth) - Dual login: tabbed Tech Login (username+PIN) / Admin Login (NC credentials) - Admin panel: tappable user list with detail modal (enable/disable, reset PIN, reset NC password, delete) - Auto-provision Nextcloud accounts for tech users - Admin guard: tech users redirected away from admin panel - New data volume for persistent tech_users.json storage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// NextSnap Service Worker
|
||||
// Provides offline-first caching for the app shell
|
||||
|
||||
const CACHE_VERSION = 'nextsnap-v27';
|
||||
const APP_SHELL_CACHE = 'nextsnap-shell-v23';
|
||||
const RUNTIME_CACHE = 'nextsnap-runtime-v23';
|
||||
const CACHE_VERSION = 'nextsnap-v33';
|
||||
const APP_SHELL_CACHE = 'nextsnap-shell-v29';
|
||||
const RUNTIME_CACHE = 'nextsnap-runtime-v29';
|
||||
|
||||
// Offline fallback page with bottom nav bar so user can navigate to cached pages
|
||||
const OFFLINE_PAGE = `<!DOCTYPE html>
|
||||
|
||||
Reference in New Issue
Block a user