Follow on Google News News By Tag Industry News News By Place Country(s) Industry News
Follow on Google News | Casbin-Ruby: an authorization library supporting distributed role-based access control (RBAC)Our Ruby implementation of Casbin took about a month to develop, and by using tests from existing implementations in different languages, we started with a deep base of test coverage.
By: Evrone.com We needed a consistent way to use role-based access control between multiple independent languages, and we also needed a way to manage the permissions and access control lists (ACLs). We discovered Casbin, an authorization library that was implemented in a variety of different languages. But there was one snag: we needed a Ruby implementation, and Casbin had not yet been ported to Ruby. So, we decided to do it ourselves, and the result is Casbin-Ruby. Read more about the Casbin-Ruby open-source project. How does it work? At its simplest, each microservice has access to two files, which are distributed across the system. The first contains a list of the users, groups, roles, and so on — in other words, it defines the authorization principles. The second contains the mappings between the principals: in effect, it is an amalgamation of all of the access control lists used by the system. This provides the solution for the very core of our challenge: decentralization (or distributed) https://evrone.com/ https://evrone.com/ End
Account Email Address Account Phone Number Disclaimer Report Abuse
|
|