Authorization plugins for RoR with Rails 3 support [closed]
Please name RoR authorization plugins with Rails 3 support, which you think is the best.
Do you need an Authorization or Authentication plugin? It seems that everyone is giving you Authentication plugin.
Authentication
To verify user with its credentials so she can get in to the system
devise is one of Authentication plugin that works well (out of the box) with Rails 3:
Authorization
To verify whether the logged in user is allowed to access certain feature in the system
Here are the list of Authorization plugin in Rails (that works well with Rails 3).
- CanCan
- Declarative Authorization
CanCan is much simpler and straight forward. Decl_auth is much cleaner and can get pretty difficult to work with at some stage. Hope that helps.
I would highly recommend Devise - it works perfectly with Rails 3, and in my experience the developers are very helpful in answering questions in the Devise Google Group. There are also two railscasts on Devise - http://railscasts.com/episodes/209-introducing-devise and http://railscasts.com/episodes/210-customizing-devise. CanCan is an authorization solution that can be used in tandem with Devise - check out the Railscast, this plugin again works great with Rails 3. Hope that helps!
Authlogic (http://github.com/binarylogic/authlogic) is a great rails authorization solution, and it works in rails3 as well
And if you want to check if a plugin is compatible with rails 3 go here
http://www.railsplugins.org/
hope this helps
cheers
sameera
Take a look at the options here - http://www.ruby-toolbox.com/categories/rails_authorization.html
As for Rails 3 compatibility, the READMEs of these gems/plugins would be the best place to check. If they don't explicitly say so, they are not !!
For authorization, I have had good experiences with acl9
I recommend devise.
精彩评论