{"repo":"apache/casbin-server","free":true,"listed":false,"github":"https://github.com/apache/casbin-server","clone":"git clone https://github.com/apache/casbin-server.git","description":"Casbin as a Service (CaaS)","language":"Go","stars":335,"topics":["casbin","service","server","access-control","authorization","acl","rbac","abac","auth","authz"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Casbin Server ==== Casbin Server is the Access Control as a Service (ACaaS) solution based on Casbin. It provides gRPC interface for Casbin authorization. What is Casbin Server ? Casbin-Server is just a container of Casbin enforcers and adapters. Casbin-Server performs the policy enforcement check, which may take a fair amount of processing depending on the model and number of policies, interfacing to external data stores such as databases for policy data. Just like how native Casbin library works, each Casbin enforcer in Casbin-Server can use its own adapter, which is linked with external database for policy storage. Of course, you can setup Casbin-Server together with your policy database in the same machine. But they can be separated. If you want to achieve high availability, you can use a Redis cluster as policy storage, then link Casbin-Server's adapter with it. In this sense, Casbin enforcer can be viewed as stateless component. It just retrieves the policy rules it is interested in (via sharding), does some computation and then returns allow or deny . Architecture Casbin-Server uses the client-server architecture. Casbin-Server itself is the server (in Golang only for now). The clients for Casbin-Server are listed here: Language Author Client ---- ---- ---- Golang Casbin https://github.com/casbin/casbin-go-client Java Accept008 https://github.com/Accept008/grpc-client PHP Casbin https://github.com/php-casbin/casbin-client Python @prathik-kaliyambath https://github.com/","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/casbin-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}