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.
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 ;)
Tim
From: urug@googlegroups.com [mailto:urug@googlegroups.com] On Behalf Of Eric Berry Sent: Monday, July 23, 2007 9:51 AM To: urug@googlegroups.com Subject: [urug] Re: New plugin - RoleRequirement
You rock Tim!
I was just looking for something like this for a large corporate site I'm building.
I'll test it and use it :D
Eric
On Jul 23, 2007, at 9:44 AM, Tim Harper wrote:
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 pro
I haven't added it yet, but I plan on having the whole app complete by mid next week. I actually need two different role based systems to work side by side. I have two different logins with different roles for each on the site I'm working on. When I used acts_as_authenticated, it would not allow reusable libraries for this. Does your generator also cover this issue by chance?
> 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 ;)
> Tim
> From: urug@googlegroups.com [mailto:urug@googlegroups.com] On > Behalf Of Eric Berry > Sent: Monday, July 23, 2007 9:51 AM > To: urug@googlegroups.com > Subject: [urug] Re: New plugin - RoleRequirement
> You rock Tim!
> I was just looking for something like this for a large corporate > site I'm building.
> I'll test it and use it :D
> Eric
> On Jul 23, 2007, at 9:44 AM, Tim Harper wrote:
> 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 pro
Lets see, a user on your site can be logged in twice, in two different places, for the same application?
From: urug@googlegroups.com [mailto:urug@googlegroups.com] On Behalf Of Eric Berry Sent: Tuesday, July 24, 2007 1:57 PM To: urug@googlegroups.com Subject: [urug] Re: New plugin - RoleRequirement
I haven't added it yet, but I plan on having the whole app complete by mid next week. I actually need two different role based systems to work side by side. I have two different logins with different roles for each on the site I'm working on. When I used acts_as_authenticated, it would not allow reusable libraries for this. Does your generator also cover this issue by chance?
Eric
On Jul 24, 2007, at 1:41 PM, Tim Harper wrote:
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 ;)
Tim
From: urug@googlegroups.com [mailto:urug@googlegroups.com] On Behalf Of Eric Berry Sent: Monday, July 23, 2007 9:51 AM To: urug@googlegroups.com Subject: [urug] Re: New plugin - RoleRequirement
You rock Tim!
I was just looking for something like this for a large corporate site I'm building.
I'll test it and use it :D
Eric
On Jul 23, 2007, at 9:44 AM, Tim Harper wrote:
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 pro
> Lets see, a user on your site can be logged in twice, in two > different places, for the same application?
> From: urug@googlegroups.com [mailto:urug@googlegroups.com] On > Behalf Of Eric Berry > Sent: Tuesday, July 24, 2007 1:57 PM > To: urug@googlegroups.com > Subject: [urug] Re: New plugin - RoleRequirement
> I haven't added it yet, but I plan on having the whole app complete > by mid next week. I actually need two different role based systems > to work side by side. I have two different logins with different > roles for each on the site I'm working on. When I used > acts_as_authenticated, it would not allow reusable libraries for > this. Does your generator also cover this issue by chance?
> Eric
> On Jul 24, 2007, at 1:41 PM, Tim Harper wrote:
> 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 ;) > Tim > From: urug@googlegroups.com [mailto:urug@googlegroups.com] On > Behalf Of Eric Berry > Sent: Monday, July 23, 2007 9:51 AM > To: urug@googlegroups.com > Subject: [urug] Re: New plugin - RoleRequirement > You rock Tim! > I was just looking for something like this for a large corporate > site I'm building. > I'll test it and use it :D > Eric > On Jul 23, 2007, at 9:44 AM, Tim Harper wrote:
> 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 pro