Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.56 KB

File metadata and controls

51 lines (35 loc) · 1.56 KB
  • Add a generator for db migrations

  • Release gems via rake-gemcutter instead of rubyforge

  • Improve permission lookup performance

  • Introduce RolePermission as the join model between Roles and Permissions

  • Replace acts_as_enumeration with enumerate_by

  • Add dependency on Rails 2.3

  • Remove the PluginAWeek namespace

  • Fix permissions for new roles always defaulting to empty even when it’s passed in to the constructor

  • Add authorized?, authorized_required, and authorization_denied helpers

  • Moved authorized_for? helper method into the controller so that it can be used there as well as in views

  • Change how the base module is included to prevent namespacing conflicts

  • Remove log files from gems

  • Index permission enumerations by their path

  • Add use of named_scope instead of class finders

  • Moved storage of controller paths into the Permission model

  • Permission and Role are now enumerations (adding dependency on acts_as_enumeration)

  • Removed unused helper methods in Permission and Role

  • Added default permissions / roles

  • Update documentation

  • Fix role_assignments unique index having too long a name

  • Add workaround for old sqlite versions that can’t handle :distinct => true

  • Add #role_ids and #role_ids=(new_ids) for models

  • Added documentation

  • Added helper methods for determining authorization within views

  • Added unit tests

  • Convert dos newlines to unix newlines