التخطي إلى المحتوى الرئيسي

Casbin in 2025: Authorization for the AI Agent Era

· قراءة لمدة 5 دقيقة
Yang Luo
Creator of Casbin

2024 was the year AI agents moved from demos to production. The Model Context Protocol (MCP) has been adopted by Google, OpenAI, Microsoft, and many others, and the way applications talk to external services is changing. That shift brings a new set of authorization challenges we at Casbin have been working on.

Authorization in APISIX Using Casbin

· قراءة لمدة 4 دقيقة
Rushikesh Tote
Member of Casbin

مقدمة

APISIX is a high-performance, scalable, cloud-native API gateway built on Nginx and etcd, and an Apache Software Foundation project. It ships with many plugins for authentication, monitoring, routing, and more. Plugins are hot-reloaded without restarts, so you can change behavior on the fly.

When you need authorization beyond simple checks, the authz-casbin plugin can help. It is an APISIX plugin built on Lua Casbin that enforces flexible authorization using models such as ACL, RBAC, and ABAC. Casbin is an authorization library (originally in Go, now ported to many languages); Lua Casbin is the Lua port. We proposed the plugin in the APISIX repo (#4674); after review and improvements, it was merged (#4710).

Reworking Our Documentation

· قراءة لمدة 1 دقيقة
Yang Luo
Creator of Casbin

We have moved Casbin’s documentation from GitHub Wiki to the Docs section of this site, powered by Docusaurus. You get better Markdown rendering, full-text search, versioning, and translation.