All Versions
64
Latest Version
Avg Release Cycle
101 days
Latest Release
-

Changelog History
Page 6

  • v1.3.4 Changes

    August 31, 2010
  • v1.3.3 Changes

    August 20, 2010
  • v1.3.2 Changes

    August 07, 2010
  • v1.3.1 Changes

    August 06, 2010
  • v1.3.0 Changes

    August 06, 2010
    • Adding :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, 2010
    • Load 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
  • 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, 2009
    • Adding 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].