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 }}
jrom
/
cancan
Public
forked from
ryanb/cancan
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
lib
on
master
User selector
All users
All time
Commit history
Commits on Sep 28, 2011
Correct "return cant jump across threads" error when using check_authorization()
Patrick Morgan
authored and
ryanb
committed
b3fc5ad
View commit details
Copy full SHA for b3fc5ad
View code at this point
Browse repository at this point
Merge pull request #425 from skhisma/master
Show description for 610d7e3
ryanb
committed
610d7e3
View commit details
Copy full SHA for 610d7e3
View code at this point
Browse repository at this point
Merge pull request #424 from whilefalse/master
Show description for cfb801e
ryanb
committed
cfb801e
View commit details
Copy full SHA for cfb801e
View code at this point
Browse repository at this point
Commits on Jul 23, 2011
Merge pull request #421 from amc-projects/master
Show description for 987dce0
ryanb
committed
987dce0
View commit details
Copy full SHA for 987dce0
View code at this point
Browse repository at this point
Commits on Jul 21, 2011
Fixed typos.
manuelmeurer
committed
e561532
View commit details
Copy full SHA for e561532
View code at this point
Browse repository at this point
Commits on Jul 20, 2011
:id_param option to load_resource allows specification of the param name to find members
geoff-parsons
committed
7937a28
View commit details
Copy full SHA for 7937a28
View code at this point
Browse repository at this point
Added the needed camelize to recent patch for engines and namespaced models
Steven Anderson
committed
d35419f
View commit details
Copy full SHA for d35419f
View code at this point
Browse repository at this point
Added support for engines and namespaced models.
Steven Anderson
committed
6c497b8
View commit details
Copy full SHA for 6c497b8
View code at this point
Browse repository at this point
Commits on Jul 19, 2011
Compatibility fix for using cancan with rspec-instafail and rspec1
schlick
committed
3b33b36
View commit details
Copy full SHA for 3b33b36
View code at this point
Browse repository at this point
Commits on Jul 1, 2011
Load datamapper class methods via append_extensions.
Show description for ccd7a94
psanford
committed
ccd7a94
View commit details
Copy full SHA for ccd7a94
View code at this point
Browse repository at this point
Change the i18n default name to :"unauthorized.default"
nhocki
committed
1c3e617
View commit details
Copy full SHA for 1c3e617
View code at this point
Browse repository at this point
Commits on Jun 30, 2011
Make CanCan Default Message a translatable text. Default to the one you had.
nhocki
committed
596ad23
View commit details
Copy full SHA for 596ad23
View code at this point
Browse repository at this point
Commits on May 21, 2011
delegating ControllerResource find to model adapter, uses 'get' for DataMapper - closes #373
ryanb
committed
613ab1c
View commit details
Copy full SHA for 613ab1c
View code at this point
Browse repository at this point
Commits on May 20, 2011
allow :find_by option to be full find method name - closes #335
ryanb
committed
c031f82
View commit details
Copy full SHA for c031f82
View code at this point
Browse repository at this point
Commits on May 18, 2011
pass action and subject through AccessDenied exception when :through isn't found - closes #366
ryanb
committed
843fe89
View commit details
Copy full SHA for 843fe89
View code at this point
Browse repository at this point
Commits on May 17, 2011
Merge pull request #363 from rahearn/mongoid-conditions-empty
Show description for 74c9d58
ryanb
committed
74c9d58
View commit details
Copy full SHA for 74c9d58
View code at this point
Browse repository at this point
adding current_ability to helper methods - closes #361
ryanb
committed
4e4c5a9
View commit details
Copy full SHA for 4e4c5a9
View code at this point
Browse repository at this point
allow :through option to work with private controller methods - closes #360
ryanb
committed
dde88c9
View commit details
Copy full SHA for dde88c9
View code at this point
Browse repository at this point
ensure Mongoid::Document is defined before loading Mongoid adapter - closes #359
ryanb
committed
cb9777b
View commit details
Copy full SHA for cb9777b
View code at this point
Browse repository at this point
Commits on May 12, 2011
Processes can rules only if no empty conditions rules are present
Show description for 0882450
Ryan Ahearn
committed
0882450
View commit details
Copy full SHA for 0882450
View code at this point
Browse repository at this point
Commits on May 10, 2011
Fixes bug in mongoid_adapter with empty conditions hash
Show description for ad62d60
Ryan Ahearn
committed
ad62d60
View commit details
Copy full SHA for ad62d60
View code at this point
Browse repository at this point
Commits on Apr 29, 2011
Return empty set early if no can rules are present.
Show description for 16bdb8d
emmanuel
committed
16bdb8d
View commit details
Copy full SHA for 16bdb8d
View code at this point
Browse repository at this point
Fix pending spec for DataMapper adapter.
emmanuel
committed
d6851de
View commit details
Copy full SHA for d6851de
View code at this point
Browse repository at this point
Use dkubb's suggestion for evaluating conditions against a Resource.
emmanuel
committed
6d39b0a
View commit details
Copy full SHA for 6d39b0a
View code at this point
Browse repository at this point
Commits on Apr 27, 2011
Augments Mongoid adapter by handling case where attribute is an array
John Feminella
committed
17c52a7
View commit details
Copy full SHA for 17c52a7
View code at this point
Browse repository at this point
Commits on Apr 15, 2011
Adds ability to use Scope query with Mongoid
Show description for 2b62041
Ryan Ahearn
committed
2b62041
View commit details
Copy full SHA for 2b62041
View code at this point
Browse repository at this point
Commits on Apr 1, 2011
Merge branch 'optional-associations' of https://github.com/socialcast/cancan into socialcast-optional-associations
ryanb
committed
b1424df
View commit details
Copy full SHA for b1424df
View code at this point
Browse repository at this point
Fixed bug where conditions on an optionally associated object would throw exceptions if the associated object was not present at the rule match time.
thatothermitch
committed
6aaab9e
View commit details
Copy full SHA for 6aaab9e
View code at this point
Browse repository at this point
When using an existing scope, it should be merged properly to the class. May fix ryanb/cancan#328 :)
flop
committed
a10243a
View commit details
Copy full SHA for a10243a
View code at this point
Browse repository at this point
Commits on Mar 30, 2011
fixing mongoid 'or' error - closes #322
ryanb
committed
e96cf5b
View commit details
Copy full SHA for e96cf5b
View code at this point
Browse repository at this point
Commits on Mar 25, 2011
make sure ActiveRecord::Relation is defined before checking conditions against it so Rails 2 is supported again - closes #312
ryanb
committed
89e4098
View commit details
Copy full SHA for 89e4098
View code at this point
Browse repository at this point
return subject passed to authorize! - closes #314
ryanb
committed
1ac8099
View commit details
Copy full SHA for 1ac8099
View code at this point
Browse repository at this point
Commits on Mar 18, 2011
fixing instance loading with :singleton option - closes #310
ryanb
committed
7688025
View commit details
Copy full SHA for 7688025
View code at this point
Browse repository at this point
Commits on Mar 16, 2011
use Item.new instead of build_item for singleton resource so it doesn't mess up database - closes #304
ryanb
committed
3f6cecb
View commit details
Copy full SHA for 3f6cecb
View code at this point
Browse repository at this point
making accessible_by action default to :index and parent action default to :show so we don't check :read action directly - closes #302
ryanb
committed
fdd5ad0
View commit details
Copy full SHA for fdd5ad0
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.