Trending...
- California: Governor Newsom announces appointments 12.12.2025
- Author Explodes Damning Myths about Hunger in America
- Interpreters Unlimited Helps NORAD Track Santa in More Languages Than Ever Before
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.
SAN FRANCISCO - Californer -- Our KFC project employs a microservice architecture, with components written in various languages and runtime environments, such as .NET, Ruby, and Go. Many of these components need to be able to make decisions based upon the authorization status of a user: who are they, what roles do they belong to, what actions are they able to perform, and to what?
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.
More on The Californer
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) management of users, roles, and what they can do.
https://evrone.com/kfc
https://evrone.com/casbin-ruby
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.
More on The Californer
- Governor Newsom announces $47 million in grants to help prevent substance use among California youth, including supports for struggling young men and boys
- California: Governor Newsom leads seasonal storm readiness effort
- World's Largest Beverage Chain MIXUE Opens in Hollywood with Support from Elevate Crest Properties
- Pinealage: the app that turns strangers into meditation companions — in crowdfunding phase
- PawRobo™: First Truly Robotic Canned Cat Food Feeder – No Fridge or Ice Packs
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) management of users, roles, and what they can do.
https://evrone.com/kfc
https://evrone.com/casbin-ruby
Source: Evrone.com
0 Comments
Latest on The Californer
- 2025 Aquila Polonica Article Prize Winner Announced
- The Womens Freedom Song Contest Launches!
- Ventura Chamber of Commerce Names Cumulus Media VP Sommer Frisk "Shining Star of the Year"
- City of Long Beach to Host Second Business Networking Event Along Santa Fe Avenue Corridor
- New Year's Business Resolution: "Sell Everything and Sell it NOW!"
- Beycome Closes $2.5M Seed Round Led by InsurTech Fund
- IPoly Seniors Tackle Local Infrastructure Challenges Through Civic Action Projects
- Long Beach Health Department Urges Community to Avoid Kratom and 7-OH Products Amid Rising Overdose Risk
- IPoly High School Earns 'All Blue' State Achievement Distinction, Receives Golden Bell Award
- Sonet.io Unveils Safer Enterprise Architecture for AI Agents Without Internet Exposure
- New Year's Business Resolution Number One: Start using this very effective Marketing Math Today!
- Tru by Hilton Columbia South Opens to Guests
- Christy Sports donates $56K in new gear to SOS Outreach to help kids hit the slopes
- As Donald Trump attempts to restrict health care for LGBTQ youth, California partners with The Trevor Project to launch statewide suicide prevention training for 988 crisis counselors
- "BigPirate" Sets Sail: A New Narrative-Driven Social Casino Adventure
- Phinge CEO Ranked #1 Globally by Crunchbase for the Last Week, Will Be in Las Vegas Jan. 4-9, the Week of CES to Discuss Netverse & IPO Coming in 2026
- Americans Just Spent $44 Billion Online in Five Days — And Smart Entrepreneurs Are Cashing In Year-Round
- Long Beach Open Coastal Swimming Areas Temporarily Closed Due to Sewage Spill
- New Analysis from Eric Galuppo Links Reactive Management to System Design Failures
- City of Long Beach Facilities and Services Schedule for Christmas Day and New Year's Day