mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-14 18:57:29 +02:00
Fix administrator access and improve production deployment reliability
Corrects admin role inconsistencies and updates routes to use 'administrator' role. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/9GNa2aH
This commit is contained in:
1 parent
58d8c7a449
commit
bf09dcb56b
4 files changed
+22
-15
No files matched your search
@@ -330,7 +330,9 @@ Preferred communication style: Simple, everyday language.
|
||||
- ✅ **Graceful Degradation**: Application starts even if migrations fail
|
||||
- ✅ **Auto-Creation**: Database tables created automatically on first connection
|
||||
- ✅ **SSL Configuration**: Fixed PostgreSQL SSL errors with sslmode=disable for Docker
|
||||
- ✅ **Backup Import Fix**: Corrected timestamp conversion in backup import functionality
|
||||
- ✅ **Backup Import Fix**: Corrected timestamp conversion in backup import functionality
|
||||
- ✅ **Admin Permissions Fix**: Corrected user role 'admin' to 'administrator' for production consistency
|
||||
- ✅ **Role Middleware Fix**: Updated all admin routes to use 'administrator' role instead of 'admin'
|
||||
- ✅ **Production Guide**: Created comprehensive DEPLOYMENT_GUIDE.md with troubleshooting
|
||||
- ✅ **Environment Templates**: Updated .env.production.example with security defaults
|
||||
- ✅ **Health Diagnostics**: Added production-ready health checks and monitoring
|
||||
|
||||
Reference in new issue
Block a user