开发者

Authorization plugins for RoR with Rails 3 support [closed]

开发者 https://www.devze.com 2023-01-13 05:26 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answer开发者_开发问答s to be supported by facts, references,or expertise, but this question will likely so
As it currently stands, this question is not a good fit for our Q&A format. We expect answer开发者_开发问答s to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消