4 Commits

Author SHA1 Message Date
Ichsan Kurniawan 1b37ff65f5 Enforce action permissions across admin pages
Gate administration actions by role permissions, centralize cached session access for data fetching, and return forbidden responses for unauthorized pages. Also lazy-load user exports and adjust search field sizing.
2026-11-09 15:02:29 +07:00
Ichsan Kurniawan 8478b1f28f Add access-denied pages and improve admin states
Add dedicated 403 pages for the app and admin area, enable Next.js forbidden handling, and improve admin loading, navigation, and error-boundary experiences.
2026-11-07 20:27:39 +07:00
Ichsan Kurniawan 7f8e6637e4 Move auth config and build admin menus
Extract NextAuth configuration into a shared library, load admin sidebar items from role permissions, and update related RBAC types and UI.
2026-11-06 18:25:54 +07:00
Ichsan Kurniawan 7e172f5cf7 initial commit for new hats app 2025-12-19 13:57:55 +07:00