README.rdoc in stffn-declarative_authorization-0.2.4 vs README.rdoc in stffn-declarative_authorization-0.2.5

- old
+ new

@@ -29,11 +29,12 @@ Requirements * An authentication mechanism * User object in Controller#current_user -* User object needs to respond to a method :role_symbols that returns an + * (For model security) Setting Authorization.current_user +* User objects need to respond to a method :role_symbols that returns an array of role symbols See below for installation instructions. = Authorization Data Model @@ -360,10 +361,11 @@ The requirements are * Rails >= 2.1 and Ruby >= 1.8.6, including 1.9 * An authentication mechanism * A user object returned by controller.current_user * An array of role symbols returned by user.role_symbols +* (For model security) Setting Authorization.current_user to the request's user Of the various ways to provide these requirements, here is one way employing restful_authentication. * Install restful_authentication @@ -465,10 +467,13 @@ = Contributors Thanks to +* Erik Dahlstrand +* Jeremy Friesen * Brian Langenfeld +* Geoff Longman * Mark Mansour * Mike Vincent = Licence