VigilanzaTurni/server
marco370 0332eb5481 Restrict user management operations to administrators
Enhance user management routes (`/api/users`) to enforce admin-only access for viewing and patching user data, and modify `upsertUser` in `DatabaseStorage` to handle existing users by email.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 99f0fce6-9386-489a-9632-1d81223cab44
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/99f0fce6-9386-489a-9632-1d81223cab44/TRdpk3a
2025-10-11 15:26:17 +00:00
..
db.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
index.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
replitAuth.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
routes.ts Restrict user management operations to administrators 2025-10-11 15:26:17 +00:00
storage.ts Restrict user management operations to administrators 2025-10-11 15:26:17 +00:00
vite.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00