Skip to content

v1.1.0

Choose a tag to compare

@fhmiibrhimdev fhmiibrhimdev released this 19 Sep 07:39
· 5 commits to main since this release

feat: add flexible role-based middleware system

  • Add RolesMiddleware for flexible multi-role authorization
  • Add ModeratorMiddleware for moderator and admin access
  • Register new middleware in kernel.ts
  • Add example routes with different role access levels
  • Support for admin-only, moderator+admin, and custom role combinations
  • Enhance route protection with granular role-based access control

Full Changelog: v1.0.0...v1.1.0