feat: Add public routes for hackathons and enhance permissions checks to support both names and IDs

This commit is contained in:
MythEclipse committed 2025-10-05 20:23:34 +07:00
1 parent b27e4a4404
commit 7749f6fdec
6 files changed
+74 -10

No files matched your search

+2 -1
View File
@@ -13,7 +13,7 @@ use imphnen_cms::{
};
use imphnen_dimentorin::dimentorin_router;
use imphnen_gacha::gacha_router;
use imphnen_hackathon::v1::hackathon_protected_routes;
use imphnen_hackathon::v1::{hackathon_protected_routes, hackathon_public_routes};
use imphnen_iam::{
iam_protected_routes,
iam_public_routes,
@@ -41,6 +41,7 @@ pub async fn gateway_service(
let public_routes = Router::new()
.merge(iam_public_routes())
.merge(hackathon_public_routes())
.merge(testimonials_public_routes())
.merge(events_public_routes());