Ross ROSS = Recommend OSS · open-source software intelligence for agents

palkan/action_policy

Authorization framework for Ruby/Rails applications observed · 2026-08-28

github.com/palkan/action_policy · homepage · Ruby · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

65/100

  • Activity 94
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3079
  • days_rel: n/a
  • days_push: 39
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1560 stars · 89 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Action Policy is an authorization framework for Ruby and Rails applications, built around resource-specific policy classes with composable rules, scoping, caching, and failure-reason tracking. It works Rails-free out of the box but offers seamless Rails, GraphQL, and Graphiti integrations plus first-class RSpec/Minitest testing tools.

Use cases

  • authorize user actions in a Rails controller
  • scope database queries to records a user can access
  • replace Pundit with a more feature-rich policy framework
  • add authorization to a non-Rails Ruby app or GraphQL API
  • explain why an authorization check failed
  • test authorization rules with RSpec matchers

When to choose

  • you're building a Ruby or Rails app needing a flexible, composable authorization layer
  • you want policy scoping, caching, aliases, and failure reasons beyond Pundit's simplicity
  • you need authorization in GraphQL Ruby or Graphiti APIs

When to avoid

  • you need a full roles/permissions management system rather than an access-verification layer
  • you're not using Ruby
  • you want a UI or database-backed permission admin

Facets

library · maturity stable

authorization middleware web-development backend security developer-tools ruby rails policies pundit-alternative cancancan-alternative graphql-integration i18n testing-matchers web-server

3 sources

Member repositories

RepositoryRoleHealth v2
palkan/action_policymain65

For agents

markdown · JSON · MCP: product_card(name="palkan/action_policy")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem