removing unauthorized! in favor of authorize! and including more information in AccessDenied exception - closes #40

This commit is contained in:
Ryan Bates
2010-04-16 14:54:18 -07:00
parent ecf2818a9e
commit 8903feee70
12 changed files with 152 additions and 49 deletions
+4
View File
@@ -1,5 +1,9 @@
1.1.0 (not released)
* Removing "unauthorized!" method in favor of "authorize!"
* Adding action, subject and default_message abilities to AccessDenied exception - see issue #40
* Adding caching to current_ability controller method, if you're overriding this be sure to add caching too.
* Adding "accessible_by" method to Active Record for fetching records matching a specific ability