Pundit
Authorization library for Ruby that expresses permissions as plain Ruby policy classes.
Pundit is a Ruby library of helpers for building an authorization system from regular Ruby classes and object-oriented design patterns. It is written for Rails applications: the README walks through a Rails controller and a Rails generator, and the gemspec describes it as authorization for Rails applications.
Varvet, a digital product studio in Sweden, builds and maintains it, and the README says Jonas Nicklas first released it in 2012. The README also lists Flask-Pundit, a Python extension it describes as heavily inspired by Pundit.
Sources
- 2026-11-16: links, Maintainer, Categories, Runtime, License, Install with
github.com/varvet/pundit/blob/main/README.md - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/varvet/pundit - 2026-11-16: Headquarters
varvet.com/ - 2026-11-16: First release, Last release
rubygems.org/api/v1/versions/pundit.json - 2026-11-16: Current major version
api.github.com/repos/varvet/pundit/tags - 2026-11-16: Contributors
api.github.com/repos/varvet/pundit/contributors - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/pundit - 2026-11-16: Built on
github.com/varvet/pundit/blob/main/pundit.gemspec