views:

3579

answers:

6

I need to add role based permissions to my Rails application, and am wondering what the best plugins out there are to look into. I am currently using the RESTful authentication plugin to handle user authentication. Why is the plug in you suggest better than the other ones out there?

+3  A: 

I use, and really like, role_requirement: http://code.google.com/p/rolerequirement/

Matt Rogish
A: 

+1 role_requirement

It plugs into restful_authentication quite well.

Dan Harper - Leopard CRM
A: 

We've put role_requirement into Bort too, as it's probably the best solution out there at the moment.

Mr. Matt
A: 

I'm a very satisfied user of ACL

http://agilewebdevelopment.com/plugins/acl_system

do try it!

liangzan
A: 

I recommend Rails Authorization which will work with Restful Authentication quite nicely.

epochwolf
+2  A: 

Ive got to recommended easy_roles. Its super light weight, and doesn't require extra tables etc etc.

http://github.com/platform45/easy_roles

http://gemcutter.org/gems/easy_roles

But role authentication is definitely site dependent. Different role authorization plugins suit different sites.

If you dont feel easy_roles suits your needs, check out:

http://ruby-toolbox.com/categories/rails_authorization.html

Ryan