feat: Enhance Hackathon Timeline Management and Admin Features
- Updated HackathonTimelineCreateRequestDto to accept optional title and name fields. - Added custom validators for HackathonPhase and date checks in hackathon_dto.rs. - Implemented admin-sensitive data management DTOs for handling user scores and personal info. - Introduced new admin routes for managing users, roles, and permissions in IAM module. - Added timeline enforcement middleware to restrict access based on hackathon phases. - Created tests for timeline enforcement and admin permissions to ensure proper access control. - Implemented payment middleware as a placeholder for future payment processing logic. - Enhanced audit logging middleware for improved error handling and logging.
This commit is contained in:
Generated
+2
@@ -2203,6 +2203,7 @@ dependencies = [
|
||||
"axum-test",
|
||||
"chrono",
|
||||
"dotenvy",
|
||||
"futures",
|
||||
"http-body-util",
|
||||
"imphnen-entities",
|
||||
"imphnen-iam",
|
||||
@@ -2223,6 +2224,7 @@ dependencies = [
|
||||
"surrealdb",
|
||||
"tokio",
|
||||
"tokio-test",
|
||||
"tower",
|
||||
"tower-http",
|
||||
"tracing",
|
||||
"utoipa",
|
||||
|
||||
Reference in New Issue
Block a user