Permalink
Browse files

Update TODO [ci skip]

  • Loading branch information...
Nathan Long
Nathan Long committed Dec 10, 2012
1 parent a5d9a8a commit ccd8bc1dc4ba15a4aabbc13e7af0f312e5bb344a
Showing with 6 additions and 0 deletions.
  1. +6 −0 TODO.markdown
View
@@ -6,6 +6,12 @@
- Test `ActionController` integration
- Add tests for the generators
+## Code
+
+- Look into using the `Forwardable` module for delegation in various places. (Does it handle passing options if given and nothing if not?)
+- Have `.can?` accept and pass options
+- Consider having `can?(:eat_cake)` call `ApplicationAuthorizer.authorizes_to_eat_cake?`. Maintain backwards compatibility but give a warning.
+
## 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.

0 comments on commit ccd8bc1

Please sign in to comment.