Judoscale integrates with Rails, Sidekiq, Solid Queue, and more to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up job queues. Learn more →
Top 23 Ruby Authorization Projects
-
Project mention: Pundit-ts: type-safe authorization library for Node.js | news.ycombinator.com | 2025-02-08
-
Judoscale
Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Rails, Sidekiq, Solid Queue, and more to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up job queues.
-
CanCanCan.
-
You can use doorkeeper gem. Which can convert your Rails application into an identity provider. But this means that one of your applications will be the single source of truth for users management.
-
-
# app/controllers/admin/application_controller.rb class Admin::ApplicationController < ActionController::Base before_action :authenticate_user! before_action :authorize! verify_authorized layout "admin/application" def implicit_authorization_target # If you don't pass the target, it will be guessed # based on the controller name. # See https://actionpolicy.evilmartians.io/#/implicit_target super || controller_name.classify.to_sym end def authorization_strict_namespace true end end
-
Declarative Authorization
An unmaintained authorization plugin for Rails. Please fork to support current versions of Rails
-
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
-
-
-
-
-
-
-
-
-
Canard
Makes role based authorization in Rails really simple. Wraps CanCan and RoleModel up with a smattering of syntactic sugar, some generators and scopes.
-
rabarber
Rabarber is a role-based authorization library for Ruby on Rails. It provides a set of tools for managing user roles and defining authorization rules, supports multi-tenancy and comes with audit logging for enhanced security.
I found 2 really good gems for this, ActionPolicy and Rabarber. ActionPolicy allowed me to write policies, and in those policies I will then decide if the user has a certain role before they can perform a given action.
-
-
-
-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Ruby Authorization discussion
Ruby Authorization related posts
-
Pundit-ts: type-safe authorization library for Node.js
-
Securing Rails application with Action Policy
-
Rails and Keycloak, Authentication Authorization, part one
-
An Introduction to Auth0 for Ruby on Rails
-
Rabarber v3: Multi-Tenancy Update
-
Rabarber v2: A Major Update for the Role-Based Authorization Gem
-
A guide to Auth & Access Control in web apps 🔐
-
A note from our sponsor - Judoscale
judoscale.com | 26 Apr 2025
Index
What are some of the best open-source Authorization projects in Ruby? This list will help you:
# | Project | Stars |
---|---|---|
1 | Pundit | 8,382 |
2 | CanCanCan | 5,633 |
3 | Doorkeeper | 5,381 |
4 | rolify | 3,172 |
5 | Action Policy | 1,457 |
6 | Declarative Authorization | 1,243 |
7 | acl9 | 852 |
8 | AccessGranted | 778 |
9 | Next Rails | 533 |
10 | graphql-guard | 470 |
11 | Consul | 334 |
12 | RoleCore | 302 |
13 | banken | 269 |
14 | Pundit Matchers | 238 |
15 | Groupify | 194 |
16 | RedisWebManager | 172 |
17 | Canard | 125 |
18 | rabarber | 104 |
19 | Yabeda::Puma::Plugin | 72 |
20 | verifica | 61 |
21 | browserslist_useragent gem | 29 |
22 | Operators | 27 |
23 | KittyPolicy | 23 |