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
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
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 }}
btrd
pundit
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
pundit
lib
on
master
User selector
All users
Datepicker
All time
Commit history
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 21, 2018
Tagged 2.0.0
Linuus
committed
a89cb3d
View commit details
Copy full SHA for a89cb3d
View code at this point
Browse repository at this point
Commits on Jul 4, 2018
Tagged 2.0.0.beta1
Linuus
committed
66e49fa
View commit details
Copy full SHA for 66e49fa
View code at this point
Browse repository at this point
elabs => varvet
Linuus
committed
f6bf57b
View commit details
Copy full SHA for f6bf57b
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 policy_class arg to Pundit.authorize method
pcriv
committed
55eea50
View commit details
Copy full SHA for 55eea50
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 5, 2018
Avoid rescues in PolicyFinder
brendanthomas1
committed
841e4a5
View commit details
Copy full SHA for 841e4a5
View code at this point
Browse repository at this point
Commits on May 31, 2018
Use `.all` in the scope generators
Show description for 675d7c9
iangreenleaf
committed
675d7c9
View commit details
Copy full SHA for 675d7c9
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 25, 2018
Merge pull request #516 from yhirano55/improve-policy-generator
Show description for 711df4c
Linuus
authored
711df4c
View commit details
Copy full SHA for 711df4c
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
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 May 16, 2018
Add documentation for pundit_params_for method
pcriv
committed
b6174e4
View commit details
Copy full SHA for b6174e4
View code at this point
Browse repository at this point
Commits on May 15, 2018
Remove empty line for cosme
yhirano55
committed
d9faff2
View commit details
Copy full SHA for d9faff2
View code at this point
Browse repository at this point
chmod -x template/policy.rb
yhirano55
committed
c632353
View commit details
Copy full SHA for c632353
View code at this point
Browse repository at this point
Refactor source_root for cosme
yhirano55
committed
8eaa94f
View commit details
Copy full SHA for 8eaa94f
View code at this point
Browse repository at this point
Refactor permitted_attributes to make it easier to customize
pcriv
committed
c1fda86
View commit details
Copy full SHA for c1fda86
View code at this point
Browse repository at this point
Merge pull request #418 from aaackerman/fix-broken-ensure-policies-are-used-links
Show description for 6f8dba3
Linuus
authored
6f8dba3
View commit details
Copy full SHA for 6f8dba3
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
Commits on Jul 22, 2017
fix PolicyFinder when given an array with policy class override
ryanhertz
committed
2803193
View commit details
Copy full SHA for 2803193
View code at this point
Browse repository at this point
Commits on May 25, 2017
Quote the class name
JIAZHEN
committed
dddd6ff
View commit details
Copy full SHA for dddd6ff
View code at this point
Browse repository at this point
Document the new error on methods
JIAZHEN
committed
bae8278
View commit details
Copy full SHA for bae8278
View code at this point
Browse repository at this point
Raise InvalidConstructorError when policy and policy_scope raise ArgumentError
JIAZHEN
committed
8fc6201
View commit details
Copy full SHA for 8fc6201
View code at this point
Browse repository at this point
Define InvalidConstructorError
JIAZHEN
committed
7d8de78
View commit details
Copy full SHA for 7d8de78
View code at this point
Browse repository at this point
Commits on May 11, 2017
Rubocop -a for 2.4.1 sake
olleolleolle
authored and
thomasklemm
committed
ac2a25d
View commit details
Copy full SHA for ac2a25d
View code at this point
Browse repository at this point
Travis build change: Fix build, use latest JRuby
Show description for f60d059
olleolleolle
authored and
thomasklemm
committed
f60d059
View commit details
Copy full SHA for f60d059
View code at this point
Browse repository at this point
Commits on Sep 8, 2016
Update links for ensuring policies and scopes are used in pundit.rb
aaackerman
committed
57742d5
View commit details
Copy full SHA for 57742d5
View code at this point
Browse repository at this point
Commits on Jun 7, 2016
Merge pull request #393 from ShPakvel/clean_application_policy_template
Show description for c3f2d09
jnicklas
committed
c3f2d09
View commit details
Copy full SHA for c3f2d09
View code at this point
Browse repository at this point
Remove 10 extra spaces from the middle of RSpec failure messages
Julian
committed
bbdc91d
View commit details
Copy full SHA for bbdc91d
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.