Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 640 Bytes

CHANGELOG.md

File metadata and controls

18 lines (13 loc) · 640 Bytes

PunditRoles

0.2.1 (2017-10-30)

  • Roles and permitted options are no longer separately declared with role and permitted_for methods. Declaration of options has been consolidated into the role method.
  • Roles can no longer be inherited from the superclass.
  • Test conditions for the roles are now guessed from the name of the role, instead of being declared explicitly with the authorize_with option.
  • Policy instance variable @record renamed @resource

0.5.0 (2017-11-08)

  • authorize method has been renamed to authorize!
  • added support for limiting scopes, can be called with policy_scope!

0.6.0