Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
akmhmgc
/
pundit
Public
forked from
varvet/pundit
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
pundit
spec
on
main
User selector
All users
All time
Commit history
Commits on Feb 11, 2022
Require users to explicitly define Scope#resolve
Show description for 44cfa73
Burgestrand
and
dgmstuart
committed
44cfa73
View commit details
Copy full SHA for 44cfa73
View code at this point
Browse repository at this point
Commits on Jan 14, 2022
improve syntax according rubocop 1.24 rules
MarceloAGuimaraes
committed
5a5df78
View commit details
Copy full SHA for 5a5df78
View code at this point
Browse repository at this point
Commits on Jan 5, 2022
Use activesupport deprecation module for more detailed deprecation warning
Burgestrand
committed
0455f59
View commit details
Copy full SHA for 0455f59
View code at this point
Browse repository at this point
Commits on Jan 4, 2022
Extract Pundit controller authorization module
Jan Jedrychowski
authored and
Burgestrand
committed
4d9b584
View commit details
Copy full SHA for 4d9b584
View code at this point
Browse repository at this point
Refactor controller#authorize in terms of Pundit.authorize
Burgestrand
committed
4f634c1
View commit details
Copy full SHA for 4f634c1
View code at this point
Browse repository at this point
Commits on Nov 4, 2021
Pass record correctly when using `policy_class`
Show description for 6c0e801
fqxp
committed
6c0e801
View commit details
Copy full SHA for 6c0e801
View code at this point
Browse repository at this point
Commits on Jul 22, 2020
Use non-monkey-patched describe
Thomas Carney
committed
07f4dd3
View commit details
Copy full SHA for 07f4dd3
View code at this point
Browse repository at this point
Commits on Nov 12, 2019
Improve test coverage of PolicyFinder
Show description for c757713
dgmstuart
committed
c757713
View commit details
Copy full SHA for c757713
View code at this point
Browse repository at this point
Report test coverage to CodeClimate
Show description for 8ffa4fe
dgmstuart
committed
8ffa4fe
View commit details
Copy full SHA for 8ffa4fe
View code at this point
Browse repository at this point
Commits on Nov 11, 2019
rm weak assertion
QWYNG
committed
1b46006
View commit details
Copy full SHA for 1b46006
View code at this point
Browse repository at this point
tweak spec be -> eq
QWYNG
committed
5fdec1c
View commit details
Copy full SHA for 5fdec1c
View code at this point
Browse repository at this point
fix spec for make sure that .authorize and #authorize change is not breaking any existing behaviour
QWYNG
committed
49a34d2
View commit details
Copy full SHA for 49a34d2
View code at this point
Browse repository at this point
Commits on Nov 10, 2019
`authorize` return record even with passed record with namespace arry
QWYNG
committed
3de189c
View commit details
Copy full SHA for 3de189c
View code at this point
Browse repository at this point
Commits on Aug 22, 2019
Drop support for RSpec 2
Show description for f252293
dgmstuart
committed
f252293
View commit details
Copy full SHA for f252293
View code at this point
Browse repository at this point
Commits on Aug 14, 2019
Upgrade Rubocop to latest version (0.74)
Show description for 28dd150
dgmstuart
committed
28dd150
View commit details
Copy full SHA for 28dd150
View code at this point
Browse repository at this point
Commits on Aug 12, 2019
Add frozen string literal magic comment
Show description for f13c28d
dgmstuart
committed
f13c28d
View commit details
Copy full SHA for f13c28d
View code at this point
Browse repository at this point
Rubocop: re-enable IndentHash rule
Show description for e39e1c5
dgmstuart
committed
e39e1c5
View commit details
Copy full SHA for e39e1c5
View code at this point
Browse repository at this point
Commits on Mar 4, 2019
return a safer NotAuthorizedError message
brendanthomas1
committed
b0cf1a5
View commit details
Copy full SHA for b0cf1a5
View code at this point
Browse repository at this point
Commits on Sep 20, 2018
Improve exception for #policy_scope and #policy_scope! (#548)
Show description for 124c00d
nicolas-brousse
committed
124c00d
View commit details
Copy full SHA for 124c00d
View code at this point
Browse repository at this point
Commits on Jul 3, 2018
Merge pull request #441 from pablocrivella/allow-overriding-policy-class-on-authorize-method
Show description for 1f93b8b
Linuus
authored
1f93b8b
View commit details
Copy full SHA for 1f93b8b
View code at this point
Browse repository at this point
Commits on Jul 1, 2018
Add test for Pundit.authorize
pcriv
committed
2cd4cc4
View commit details
Copy full SHA for 2cd4cc4
View code at this point
Browse repository at this point
Commits on Jun 17, 2018
Fix `param_key` when passed an array for namespacing
Linuus
committed
55b53c5
View commit details
Copy full SHA for 55b53c5
View code at this point
Browse repository at this point
Only pass last element of array to policy scope
Linuus
committed
ac372bc
View commit details
Copy full SHA for ac372bc
View code at this point
Browse repository at this point
Pass the last thing in array to policy
Show description for 3342438
Linuus
committed
3342438
View commit details
Copy full SHA for 3342438
View code at this point
Browse repository at this point
Commits on Jun 7, 2018
Allow specification of a NilClassPolicy
Show description for 10910d9
bendilley
committed
10910d9
View commit details
Copy full SHA for 10910d9
View code at this point
Browse repository at this point
Commits on Jun 6, 2018
Ignore rubocop warnings for public method in spec helper
Linuus
committed
f2437d1
View commit details
Copy full SHA for f2437d1
View code at this point
Browse repository at this point
Commits on Jun 5, 2018
Add PolicyFinder spec
brendanthomas1
committed
60be065
View commit details
Copy full SHA for 60be065
View code at this point
Browse repository at this point
Commits on May 31, 2018
More exact checks in specs with Comment scopes
Show description for 9d41dbc
iangreenleaf
committed
9d41dbc
View commit details
Copy full SHA for 9d41dbc
View code at this point
Browse repository at this point
Merge pull request #475 from ryanhertz/fix-arrays
Show description for a0124c5
Linuus
authored
a0124c5
View commit details
Copy full SHA for a0124c5
View code at this point
Browse repository at this point
Commits on May 18, 2018
Allow to override policy scope class on controller#policy_scope method
pcriv
committed
de56493
View commit details
Copy full SHA for de56493
View code at this point
Browse repository at this point
Allow overriding policy class on authorize method
pcriv
committed
2c80766
View commit details
Copy full SHA for 2c80766
View code at this point
Browse repository at this point
Commits on May 17, 2018
Merge pull request #462 from JIAZHEN/master
Show description for f21df87
Linuus
authored
f21df87
View commit details
Copy full SHA for f21df87
View code at this point
Browse repository at this point
Remove duplicate assertions
Linuus
committed
3d82b96
View commit details
Copy full SHA for 3d82b96
View code at this point
Browse repository at this point
Use controller’s `action_name` attr instead of params[:action]
Show description for 667b138
Ross-Hunter
committed
667b138
View commit details
Copy full SHA for 667b138
View code at this point
Browse repository at this point
Commits on Apr 27, 2018
Fix rubocop issues
Show description for 70935c5
Linuus
committed
70935c5
View commit details
Copy full SHA for 70935c5
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.