Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jul 21, 2011

  1. Manuel Meurer

    Fixed typos.

    manuelmeurer authored
  2. The first try to make cancan pass on Travis CI

    bai authored

Jul 20, 2011

  1. Geoff Parsons

    :id_param option to load_resource allows specification of the param n…

    …ame to find members
    skhisma authored
  2. Added the needed camelize to recent patch for engines and namespaced …

    …models
    Steven Anderson authored
  3. Added support for engines and namespaced models.

    Steven Anderson authored

Jul 19, 2011

  1. Michael MacDonald

    Compatibility fix for using cancan with rspec-instafail and rspec1

    schlick authored

Jul 01, 2011

  1. Ryan Bates

    Merge pull request #410 from psanford/improve_datamapper_loading

    Load datamapper class methods via append_extensions.
    ryanb authored
  2. Peter Sanford

    Load datamapper class methods via append_extensions.

    This relaxes the previous requirement that cancan has to be loaded
    before any models are. append_extensions will apply to all
    previously loaded models as well as ones loaded after.
    psanford authored
  3. Ryan Bates

    Merge pull request #409 from nhocki/patch-1

    Make CanCan Default Message a translatable text.
    ryanb authored
  4. Nicolás Hock Isaza

    Change the i18n default name to :"unauthorized.default"

    nhocki authored

Jun 30, 2011

  1. Nicolás Hock Isaza

    Adding tests for i18n translation for default messages

    nhocki authored
  2. Nicolás Hock Isaza

    Make CanCan Default Message a translatable text. Default to the one y…

    …ou had.
    nhocki authored

May 21, 2011

  1. Ryan Bates

    delegating ControllerResource find to model adapter, uses 'get' for D…

    …ataMapper - closes #373
    ryanb authored

May 20, 2011

  1. Ryan Bates

    allow :find_by option to be full find method name - closes #335

    ryanb authored

May 18, 2011

  1. Ryan Bates

    releasing 1.6.5

    ryanb authored
  2. Ryan Bates

    pass action and subject through AccessDenied exception when :through …

    …isn't found - closes #366
    ryanb authored

May 17, 2011

  1. Ryan Bates

    Merge pull request #363 from rahearn/mongoid-conditions-empty

    Fixes bug in mongoid_adapter with empty conditions hash
    ryanb authored
  2. Ryan Bates

    adding current_ability to helper methods - closes #361

    ryanb authored
  3. Ryan Bates

    allow :through option to work with private controller methods - closes

    ryanb authored
  4. Ryan Bates

    ensure Mongoid::Document is defined before loading Mongoid adapter - …

    …closes #359
    ryanb authored

May 12, 2011

  1. Ryan Ahearn

    Processes can rules only if no empty conditions rules are present

    1) remove all empty conditions hashes from the rules, they are included
     in the records through `@model_class.all`
    2) only process can rules if the new and old rules lists are the same
      length (meaning there were no empty conditions hashes)
    3) always process cannot rules
    rahearn authored

May 10, 2011

  1. Ryan Ahearn

    Fixes bug in mongoid_adapter with empty conditions hash

    * adds mongoid query that matches every record when
    rule.conditions.empty? is true
    rahearn authored

May 02, 2011

  1. Ryan Bates

    Merge pull request #355 from emmanuel/issue/245.

    DataMapper adapter improvements
    ryanb authored

Apr 29, 2011

  1. Emmanuel Gomez

    Return empty set early if no can rules are present.

    Thanks dkubb!
    emmanuel authored
  2. Emmanuel Gomez

    Fix pending spec for DataMapper adapter.

    emmanuel authored
  3. Emmanuel Gomez

    Use dkubb's suggestion for evaluating conditions against a Resource.

    emmanuel authored

Apr 27, 2011

  1. Ryan Bates

    Merged pull request #352 from cardagin/topic/mongoid-adapter-enhancem…

    …ents.
    
    Augments Mongoid adapter by handling case where attribute is an array
    ryanb authored
  2. Augments Mongoid adapter by handling case where attribute is an array

    John Feminella authored

Apr 25, 2011

  1. Ryan Bates

    Merged pull request #343 from rahearn/mongoid-scope.

    Adds ability to use Scope query with Mongoid
    ryanb authored

Apr 15, 2011

  1. Ryan Ahearn

    Adds ability to use Scope query with Mongoid

    Same limitations apply as with active record
    * can not be OR'd with other rules for same ability/controller
    rahearn authored

Apr 01, 2011

  1. Ryan Bates

    Merge branch 'optional-associations' of https://github.com/socialcast…

    …/cancan into socialcast-optional-associations
    ryanb authored
  2. Mitch Williams

    Fixed bug where conditions on an optionally associated object would t…

    …hrow exceptions if the associated object was not present at the rule match time.
  3. Florent Piteau

    When using an existing scope, it should be merged properly to the cla…

    …ss. May fix ryanb/cancan#328 :)
    flop authored
  4. Florent Piteau

    Failling test for nested resources with a scope for conditions

    flop authored

Mar 30, 2011

  1. Ryan Bates

    releasing 1.6.4

    ryanb authored
Something went wrong with that request. Please try again.