rolify
Role management library with resource scoping (by RolifyCommunity)
Action Policy
Authorization framework for Ruby/Rails applications (by palkan)
Our great sponsors
rolify | Action Policy | |
---|---|---|
2 | 10 | |
3,140 | 1,327 | |
0.1% | - | |
0.0 | 5.7 | |
6 months ago | 8 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rolify
Posts with mentions or reviews of rolify.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-26.
-
Authentication, Roles, and Authorization... oh my.
I think I'm set with Rolify for the user roles
-
Rails application boilerplate for fast MVP development
role management with rolify
Action Policy
Posts with mentions or reviews of Action Policy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-11.
-
Using Action Policy for a Ruby on Rails App: The Basics
Action Policy is a flexible, extensible, and performant authorization framework for Ruby and Rails apps. It uses multiple caching strategies out of the box, making it very fast, especially if your authorization rules require database queries.
-
Pundit VS Action Policy - a user suggested alternative
2 projects | 2 Jul 2023
Action Policy is the latest Authorization framework I've seen recommended. What is more, it is maintained by the nice and experienced team from Evil Martians.
-
GitHub - keygen/api: an open, source-available software licensing and distribution API built with Ruby on Rails
Lots of goodies here, such as token authentication, role- and permission-based authorization (including a move from Pundit to ActionPolicy), and how I test the API end-to-end using *raises flame shield* Cucumber.
- Authentication, Roles, and Authorization... oh my.
-
Five Ruby Gems for Authentication and Authorization
Also, ActionPolicy is better than Pundit for most applications. Give it a try.
-
Concerns about authorization when going in production
Use Action Policy or Pundit, and write tests for your policies. Authz is worth testing with near complete coverage.
- Service Objects (with dry-monads) and authorization
-
Access control gem for your Rails application (the 2nd)
You may ask what's makes Active Entry better or different from other gems like Pundit, Action Policy (especially), or CanCanCan.
-
Rails: How to Reduce Friction at the Authorization Layer
At work, we've recently faced similar issues and moved to ActionPolicy as a result. It's designed slightly differently, but there is a lot of overlap with what John came up with.
What are some alternatives?
When comparing rolify and Action Policy you can also consider the following projects:
Pundit - Minimal authorization through OO design and pure Ruby classes
CanCanCan - The authorization Gem for Ruby on Rails.
Groupify - Add group and membership functionality to your Rails models
jay_doubleu_tee - A JWT authorization middleware for any web application.
AccessGranted - Multi-role and whitelist based authorization gem for Rails (and not only Rails!)
Authority
Declarative Authorization - An unmaintained authorization plugin for Rails. Please fork to support current versions of Rails
banken - Simple and lightweight authorization library for Rails
Trust - Authorization mechanisms for Rails