I released another plugin today, RoleRequirement. It builds on top of acts_as_authenticated to give you an easy way to define role-based permissions for your controller. Also, it provides test helpers to make it as simple as possible to test your authentication. Complete with rdoc documentation and examples.
I built this plugin because I wasn’t satisfied with the options out there. They felt overkill to me, and some even wanted me to learn a new language. RoleRequirement is simple but flexible, and leverages the power of ruby so you don’t have to learn a new language.
If any of you are feeling excited enough to try it, let me know what you think! It’s been installed in several projects so far and is feature-complete, so you can proceed with relative ease.
Sweet action Eric! You’re a stallion.
Have you had a chance to try it out yet? I had one guy install it and had an issue. I’ve since fixed it and he’s been good to go with it.
Right now, I’m working on a few generators for it (to help generate the roles table and has_role? Action in the User model). That’s not too far away from being released.
Let me know how it goes for you ;)
Lets see, a user on your site can be logged in twice, in two different places, for the same application?