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
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 }}
gkuchta
/
cancan
Public
forked from
ryanb/cancan
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
cancan
spec
cancan
on
2.0
User selector
All users
All time
Commit history
Commits on Feb 22, 2013
Merge pull request #673 from juggler/rules_order
Show description for e6bf4c8
ryanb
committed
e6bf4c8
View commit details
Copy full SHA for e6bf4c8
View code at this point
Browse repository at this point
Commits on Oct 4, 2012
Solves problem when authorizing new action.
Show description for 1f7e4c8
Serabe
committed
1f7e4c8
View commit details
Copy full SHA for 1f7e4c8
View code at this point
Browse repository at this point
Commits on Jul 5, 2012
Fix mongoid example according to ability precedence. Closes #672
Max Prokopiev
committed
17043ca
View commit details
Copy full SHA for 17043ca
View code at this point
Browse repository at this point
Commits on Jun 29, 2012
fix namespace split, so we can use / for namespace
xinuc
committed
6c1828a
View commit details
Copy full SHA for 6c1828a
View code at this point
Browse repository at this point
Commits on Jun 27, 2012
bringing up to date with master branch
ryanb
committed
6886aec
View commit details
Copy full SHA for 6886aec
View code at this point
Browse repository at this point
Commits on Jun 26, 2012
tests passing with Rails 3.2.6
ryanb
committed
de000fd
View commit details
Copy full SHA for de000fd
View code at this point
Browse repository at this point
Commits on Jun 19, 2012
clearing leftover whitespace
ryanb
committed
112a995
View commit details
Copy full SHA for 112a995
View code at this point
Browse repository at this point
load ostruct for OpenStruct used in spec
ryanb
committed
9448041
View commit details
Copy full SHA for 9448041
View code at this point
Browse repository at this point
Merge pull request #653 from andhapp/fix-pull-request-640
Show description for 2b89dbb
ryanb
committed
2b89dbb
View commit details
Copy full SHA for 2b89dbb
View code at this point
Browse repository at this point
Commits on Jun 18, 2012
Add specs for resource attributes.
Show description for b965f5b
mikepack
authored and
andhapp
committed
b965f5b
View commit details
Copy full SHA for b965f5b
View code at this point
Browse repository at this point
Fixes Nested Resource Loading
marksim
authored and
andhapp
committed
d5baed6
View commit details
Copy full SHA for d5baed6
View code at this point
Browse repository at this point
Commits on Jun 10, 2012
Fix for issue-644 to allow users to specify a mix of can and cannot rules with mongo.
andhapp
committed
da663aa
View commit details
Copy full SHA for da663aa
View code at this point
Browse repository at this point
Commits on Jun 4, 2012
Fixed bug where parent resources were being regarded as children
ollym
committed
354e34b
View commit details
Copy full SHA for 354e34b
View code at this point
Browse repository at this point
Commits on May 31, 2012
Classify causes plural model names to be incorrectly renamed
Show description for 245b83f
ollym
committed
245b83f
View commit details
Copy full SHA for 245b83f
View code at this point
Browse repository at this point
Commits on May 30, 2012
Named resources were not being loaded correctly. Fixes #633
ollym
committed
78cbcf1
View commit details
Copy full SHA for 78cbcf1
View code at this point
Browse repository at this point
Commits on May 29, 2012
Merge pull request #632 from andhapp/fix-issue-327
Show description for 80a8c39
ryanb
committed
80a8c39
View commit details
Copy full SHA for 80a8c39
View code at this point
Browse repository at this point
Commits on May 28, 2012
Merge pull request #625 from rogercampos/merging
Show description for b3f9ffe
ryanb
committed
b3f9ffe
View commit details
Copy full SHA for b3f9ffe
View code at this point
Browse repository at this point
Commits on May 26, 2012
Fix to handle MetaWhere and non-MetaWhere conditions correctly.
andhapp
committed
c27ead5
View commit details
Copy full SHA for c27ead5
View code at this point
Browse repository at this point
Commits on May 14, 2012
port fix for namespaced params from 2.0 back to 1.6
cgunther
authored and
derekprior
committed
b347c7b
View commit details
Copy full SHA for b347c7b
View code at this point
Browse repository at this point
Commits on May 11, 2012
cancan 2.0 fix for issue #565; test to properly authorize resource for namespaced controller
bsodmike
committed
0e8c7ca
View commit details
Copy full SHA for 0e8c7ca
View code at this point
Browse repository at this point
Commits on May 10, 2012
Merge pull request #541 from icrowley/master
Show description for a8a85f1
ryanb
committed
a8a85f1
View commit details
Copy full SHA for a8a85f1
View code at this point
Browse repository at this point
Merge pull request #556 from mauriciozaffari/master
Show description for 70515de
ryanb
committed
70515de
View commit details
Copy full SHA for 70515de
View code at this point
Browse repository at this point
Merge pull request #564 from flop/master
Show description for b73bd06
ryanb
committed
b73bd06
View commit details
Copy full SHA for b73bd06
View code at this point
Browse repository at this point
Commits on Apr 23, 2012
Add check for Enumerable as condition value
Aryk
committed
65bbf0e
View commit details
Copy full SHA for 65bbf0e
View code at this point
Browse repository at this point
getting data_mapper and mongoid specs passwing with latest versions
ryanb
committed
167d383
View commit details
Copy full SHA for 167d383
View code at this point
Browse repository at this point
Commits on Apr 22, 2012
disabling MetaWhere feature and making Acitve Record fixture that is always loaded
ryanb
committed
1ff1b70
View commit details
Copy full SHA for 1ff1b70
View code at this point
Browse repository at this point
changing should spec wording
ryanb
committed
ec36137
View commit details
Copy full SHA for ec36137
View code at this point
Browse repository at this point
switching to Rspec stubbing/mocking - no more RR
ryanb
committed
b37f2d0
View commit details
Copy full SHA for b37f2d0
View code at this point
Browse repository at this point
Commits on Feb 29, 2012
Don't remove key-value from the subject hash we might want to use it again.
flop
committed
ba01349
View commit details
Copy full SHA for ba01349
View code at this point
Browse repository at this point
Commits on Feb 2, 2012
Pass forward :if and :unless options to the before filter. i.e:
Show description for 83e2dce
mauriciozaffari
committed
83e2dce
View commit details
Copy full SHA for 83e2dce
View code at this point
Browse repository at this point
Commits on Jan 5, 2012
Fixed bug with params for actions that build new instances with namespaced models
icrowley
committed
baadcb9
View commit details
Copy full SHA for baadcb9
View code at this point
Browse repository at this point
Commits on Oct 31, 2011
Adding Ability#merge
Roger Campos
committed
7797b37
View commit details
Copy full SHA for 7797b37
View code at this point
Browse repository at this point
Commits on Oct 4, 2011
quick fix to get nested resources working again - closes #482
ryanb
committed
67a3038
View commit details
Copy full SHA for 67a3038
View code at this point
Browse repository at this point
Commits on Sep 28, 2011
include namespace in params when creating/updating resource - closes #349
ryanb
committed
c94de4a
View commit details
Copy full SHA for c94de4a
View code at this point
Browse repository at this point
consider specificity when finding relevant rules so generic rules will not override specific ones - closes #321
ryanb
committed
6de9e46
View commit details
Copy full SHA for 6de9e46
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.