- May 16, 2010
-
-
Sokolov Yura authored
Main goal is to allow: cannot :manage, :all can :read, :all can :manage, User, :id=>user.id can :manage, User, :manager_id=>user.id Signed-off-by:
Sokolov Yura <funny.falcon@gmail.com>
-
- Apr 23, 2010
-
-
Ryan Bates authored
-
- Apr 21, 2010
-
-
Ryan Bates authored
-
- Apr 20, 2010
-
-
Ryan Bates authored
-
- Apr 18, 2010
-
-
Ryan Bates authored
-
Ryan Bates authored
-
- Apr 17, 2010
-
-
Ryan Bates authored
-
Ryan Bates authored
-
Ryan Bates authored
-
Ryan Bates authored
-
Ryan Bates authored
-
Ryan Bates authored
allow access to classes when using hash conditions since you'll generally want to narrow it down with a database query
- Apr 16, 2010
-
-
Ryan Bates authored
removing unauthorized! in favor of authorize! and including more information in AccessDenied exception - closes #40
-
Ryan Bates authored
-
Ryan Bates authored
-
Ryan Bates authored
renaming ActiveRecordAdditions#can method to accessible_by since it flows better and makes more sense
-
Ryan Bates authored
adding caching to current_ability class method, if you're overriding this be sure to add caching there too
-
Ryan Bates authored
default ActiveRecordAdditions#can method action to :read and use 'scoped' if 'where' is not available
-
Ryan Bates authored
adding can method to Active Record for fetching records matching a specific ability, still needs documentation
-
Ryan Bates authored
-
- Apr 15, 2010
-
-
Ryan Bates authored
renaming :class option to :resource for load_and_authorize_resource which now supports a symbol for non models - closes #45
-
Ryan Bates authored
-
Ryan Bates authored
allow additional arguments for be_able_to matcher, this requires Ruby 1.8.7 or higher to use matcher
-
David Chelimsky authored
-
David Chelimsky authored
-
Ryan Bates authored
-
Ryan Bates authored
-
- Apr 05, 2010
-
-
Ryan Bates authored
-
- Apr 03, 2010
-
-
Ryan Bates authored
-
- Dec 31, 2009
-
-
Ryan Bates authored
-
Ryan Bates authored
-
Ryan Bates authored
-
Ryan Bates authored
- Dec 15, 2009
-
-
Ryan Bates authored
-
- Dec 14, 2009
-
-
Ryan Bates authored
-
Ryan Bates authored
Adding :class option to load_resource so one can customize which class to use for the model - closes #17
-
Ryan Bates authored
Don't fetch parent of nested resource if *_id parameter is missing so it works with shallow nested routes - closes #14
-