Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (11 sloc) 0.786 kb

TODO

Design

  • Carefully think through names of all public methods & see if they could be clearer or more intuitive

Chores

  • Add separate generator to make an empty authorizer for each file in app/models (prompt for each one)
  • Test generators

Documentation

  • Make README more concise, or at least more navigable.
  • How to bypass creating an authorizer for each model - by setting authorizer name directly and having them share.
  • For instance-level checks, ensuring that you don't call update first; use attributes= before calling authorize_action_on.
  • Example of checking clean/dirty attributes in instance-level checks. For example, if I'm only allowed to update blue laser cannons, can I make them red? Maybe I need to check whether the old value was blue?
Jump to Line
Something went wrong with that request. Please try again.