# Pundit

Authorization library for Ruby that expresses permissions as plain Ruby policy classes.


Source: https://findsoftware.frbit.cloud/pundit/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/varvet/pundit
- docs: https://www.rubydoc.info/gems/pundit

### Identity

- status: active
- maintainer: Varvet AB
- maintainerType: company
- parent: unknown
- firstRelease: 2012
- hqCountry: SE

### Kind

- category: auth
- hosting: ruby
- language: ruby
- runtime: ruby
- runtimeMin: unknown
- basedOn: rails

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: gem

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2025-09-24

### Adoption

- githubStargazers: 8517
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 125
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 10667
- dependentPackages: 119

### Sources

- urls: https://github.com/varvet/pundit/blob/main/README.md (read 2026-11-16)
- urls: https://api.github.com/repos/varvet/pundit (read 2026-11-16)
- maintainer: https://github.com/varvet/pundit/blob/main/README.md (read 2026-11-16)
- hqCountry: https://varvet.com/ (read 2026-11-16)
- firstRelease: https://rubygems.org/api/v1/versions/pundit.json (read 2026-11-16)
- category: https://github.com/varvet/pundit/blob/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/varvet/pundit (read 2026-11-16)
- runtime: https://github.com/varvet/pundit/blob/main/README.md (read 2026-11-16)
- license: https://github.com/varvet/pundit/blob/main/README.md (read 2026-11-16)
- currentMajor: https://api.github.com/repos/varvet/pundit/tags (read 2026-11-16)
- latestReleaseDate: https://rubygems.org/api/v1/versions/pundit.json (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/varvet/pundit (read 2026-11-16)
- contributors: https://api.github.com/repos/varvet/pundit/contributors (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/pundit (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/pundit (read 2026-11-16)
- installMethod: https://github.com/varvet/pundit/blob/main/README.md (read 2026-11-16)
- basedOn: https://github.com/varvet/pundit/blob/main/pundit.gemspec (read 2026-11-16)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
