CHANGELOG in stffn-declarative_authorization-0.2.4 vs CHANGELOG in stffn-declarative_authorization-0.2.5

- old
+ new

@@ -1,5 +1,21 @@ +* New option :join_by for has_permission_on to allow AND'ing of statements in one has_permission_on block + +* Allow using_access_control to be called directly on ActiveRecord::Base, globally enabling model security + +* New operator: intersects_with, comparing two Enumerables in if_attribute + +* Improved if_permitted_to syntax: if the attribute is left out, permissions are checked on for the current object + +* Added #has_role_with_hierarchy? method to retrieve explicit and calculated roles [jeremyf] + +* Added a simple rules analyzer to help improve authorization rules [sb] + +* Gemified plugin. Needed to restructure the lib path contents [sb] + * Added handling of Authorization::AuthorizationInController::ClassMethods.filter_access_to parameters that are of the form [:show, :update] instead of just :show, :update. [jeremyf] + +* Added authorization usage helper for checking filter_access_to usage in controllers [sb] * Added a authorization rules browser. See README for more information [sb] * Added Model.using_access_control? to check if a model has model security activated [sb]