Changelog History
Page 6
-
v1.3.4 Changes
August 31, 2010๐ Don't stop at +cannot+ with hash conditions when checking class ([@tamoya][]) - see issue #131.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.3.3...1.3.4].
-
v1.3.3 Changes
August 20, 2010๐ Switching to Rspec namespace to remove deprecation warning in Rspec 2 - see issue #119.
๐ Pluralize nested associations for conditions in accessible_by ([@mlooney][]) - see issue #123.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.3.2...1.3.3].
-
v1.3.2 Changes
August 07, 2010๐ Fixing slice error when passing in custom resource name - see issue #112.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.3.1...1.3.2].
-
v1.3.1 Changes
August 06, 2010๐ Fixing protected sanitize_sql error - see issue #111.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.3.0...1.3.1].
-
v1.3.0 Changes
August 06, 2010Adding :find_by option to load_resource - see issue #19.
โ Adding :singleton option to load_resource - see issue #93.
๐ Supporting multiple resources in :through option for polymorphic associations - see issue #73.
๐ Supporting Single Table Inheritance for "can" comparisons - see issue #55.
Adding :instance_name option to load/authorize_resource - see issue #44.
๐ Don't pass nil to "new" to keep MongoMapper happy - see issue #63.
Parent resources are now authorized with :read action.
Changing :resource option in load/authorize_resource back to :class with ability to pass false.
Removing :nested option in favor of :through option with separate load/authorize call.
Moving internal logic from ResourceAuthorization to ControllerResource class.
๐ Supporting multiple "can" and "cannot" calls with accessible_by (funny-falcon) - see issue #71.
๐ Supporting deeply nested aliases - see issue #98.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.2.0...1.3.0].
-
v1.2.0 Changes
July 16, 2010Load nested parent resources on collection actions such as "index" (dohzya).
Adding :name option to load_and_authorize_resource if it does not match controller - see issue #65.
๐ Fixing issue when using accessible_by with nil can conditions (jrallison) - see issue #66.
๐ Pluralize table name for belongs_to associations in can conditions hash (logandk) - see issue #62.
๐ Support has_many association or arrays in can conditions hash.
โ Adding joins clause to accessible_by when conditions are across associations.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.1.1...1.2.0].
-
v1.1.1 Changes
April 17, 2010๐ Fixing behavior in Rails 3 by properly initializing ResourceAuthorization.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.1...1.1.1].
-
v1.1.0 Changes
April 17, 2010๐ Supporting arrays, ranges, and nested hashes in ability conditions.
Removing "unauthorized!" method in favor of "authorize!" in controllers.
โ Adding action, subject and default_message abilities to AccessDenied exception - see issue #40.
โ Adding caching to current_ability controller method, if you're overriding this be sure to add caching too.
โ Adding "accessible_by" method to Active Record for fetching records matching a specific ability.
โ Adding conditions behavior to Ability#can and fetch with Ability#conditions - see issue #53.
Renaming :class option to :resource for load_and_authorize_resource which now supports a symbol for non models - see issue #45.
๐ Properly handle Admin::AbilitiesController in params[:controller] - see issue #46.
Adding be_able_to RSpec matcher (dchelimsky), requires Ruby 1.8.7 or higher - see issue #54.
๐ Support additional arguments to can? which get passed to the block - see issue #48.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.0.2...1.1].
-
v1.0.2 Changes
December 30, 2009Adding clear_aliased_actions to Ability which removes previously defined actions including defaults - see issue #20.
๐ Append aliased actions (don't overwrite them) - see issue #20.
โ Adding custom message argument to unauthorized! method (tjwallace) - see issue #18.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.0.1...1.0.2].
-
v1.0.1 Changes
December 14, 2009โ Adding :class option to load_resource so one can customize which class to use for the model - see issue #17.
๐ Don't fetch parent of nested resource if *_id parameter is missing so it works with shallow nested routes - see issue #14.
๐ {see the full list of changes}[https://github.com/CanCanCommunity/cancancan/compare/1.0.0...1.0.1].