README.rdoc in iq-acl-1.1.1 vs README.rdoc in iq-acl-1.1.2
- old
+ new
@@ -47,10 +47,11 @@
previous examples were strings, however these may be of any type also,
again allowing powerful solutions to be built e.g.
user = User.find_by_email('jamie@example.com')
auth = IQ::ACL::Basic.new('projects/*' => { user => user.roles })
+
auth.authenticate!(user, 'projects/some-project') do |roles|
roles.find_by_name('project_editor')
end
== Note on Patches/Pull Requests
@@ -63,6 +64,6 @@
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.
== Copyright
-Copyright (c) 2010 Jamie Hill, SonicIQ Ltd.. See LICENSE for details.
+Copyright (c) 2010 Jamie Hill, SonicIQ Ltd. See LICENSE for details.