Production deployment with Docker and full system fixes
- Added Docker support (Dockerfiles, docker-compose.yml) - Fixed authentication and authorization (token storage, CORS, permissions) - Fixed API response transformations for all modules - Added production deployment scripts and guides - Fixed frontend permission checks and module access - Added database seeding script for production - Complete documentation for deployment and configuration Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -83,14 +83,10 @@ function DashboardContent() {
|
||||
}
|
||||
]
|
||||
|
||||
// TEMPORARY: Show all modules for development/testing
|
||||
// Will implement role-based filtering after all features are verified
|
||||
const availableModules = allModules // Show all modules for now
|
||||
|
||||
// TODO: Re-enable permission filtering later:
|
||||
// const availableModules = allModules.filter(module =>
|
||||
// hasPermission(module.permission, module.permission, 'read')
|
||||
// )
|
||||
// Filter modules based on user permissions
|
||||
const availableModules = allModules.filter(module =>
|
||||
hasPermission(module.permission, 'view')
|
||||
)
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gradient-to-br from-gray-50 to-gray-100">
|
||||
|
||||
Reference in New Issue
Block a user