fastify-casbin-rest
JSON →A Fastify plugin that integrates Casbin authorization using a RESTful model. As of version 4.0.0, it builds on top of fastify-casbin to enforce access control based on subject, object, and action extracted from HTTP requests. It provides route-level enabling, customizable extractors, and hooks for allow/deny actions. Released by NearForm, it is actively maintained with TypeScript definitions included. Unlike generic Casbin adapters, this plugin is opinionated for REST APIs and tightly couples with Fastify's lifecycle for minimal boilerplate.
Traffic · last 30 days stale · no recent hits
total hits 17
actors 3 distinct systems
last hit 21d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · AE · VN · MY
Resources
packagefastify-casbin-rest ↗
API endpoints
full doc /v1/registry/fastify-casbin-rest