Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (9 loc) · 784 Bytes

TODO.markdown

File metadata and controls

14 lines (9 loc) · 784 Bytes

TODO

  • Consider removing config.security_violation_handler, since authority_forbidden can already be redefined on any controller

Tests

  • Test with Rails 4
  • Test ActionController integration
  • Add tests for the generators

Structural changes

  • Consider the huge change from authorizer objects to modules for permissions. This eliminates the awkwardness of "to check a resource instance, let's go instantiate an authorizer and give it this resource instance..." If we make this change, describe a detailed upgrade path.
  • Ensure that Authority can boot without the configure method having been run. Maybe this will mean having setters for abilities and controller_action_map that undefine and redefine those sets of methods if/when the user runs configuration.