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?
views:
3579answers:
6
+4
Q:
Which Rails plug in is best for role based permissions? (Please provide one nomination per answer)
+3
A:
I use, and really like, role_requirement: http://code.google.com/p/rolerequirement/
Matt Rogish
2008-09-17 02:51:57
A:
+1 role_requirement
It plugs into restful_authentication quite well.
Dan Harper - Leopard CRM
2008-09-17 02:54:35
A:
liangzan
2008-09-18 15:08:26
A:
I recommend Rails Authorization which will work with Restful Authentication quite nicely.
epochwolf
2008-09-18 16:04:09
+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:
Ryan
2009-11-09 10:29:10