Forum: Ruby on Rails New RBAC Plug-In for Rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
54079122b67de9677c1f93933ce8b63a?d=identicon&s=25 Mitchell Hashimoto (mitchellh)
on 2006-04-24 07:50
Hi,

I just finished writing this plug-in. I've been using rails for awhile
but this is my first time extracting some code and writing it as a
plug-in and I'd love to hear to some feedback. Thanks.

http://mitchellhashimoto.com/rails/role-based-acce...

-Mitchell
F3dc06f587d1ff4c7366b102bfda9204?d=identicon&s=25 David Mitchell (Guest)
on 2006-04-24 08:38
(Received via mailing list)
Hi Mitchell,

What's the pros and cons of your RBAC plugin vs. the others that are
already out there?

Regards

Dave M.
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (Guest)
on 2006-04-24 08:50
(Received via mailing list)
Hey Dave, I have the same question that you do in regards to the
plugin because I have just started to use ActiveRBAC plugin.  At this
time, I cannot use the supplied SQL file.

-Conrad
668e7faa74d5e767e77d39518893c367?d=identicon&s=25 David Marko (Guest)
on 2006-04-24 10:01
I have tried to install it, put the plugin into vendor/plugins directory
but it fails when running generators:

C:\ruby_projects\radrails\workspace\auth2>ruby script\generate
protected_migration
Couldn't find 'protected_migration' generator

I use it on WinXP, Rails 1.1.2 .

David


Mitchell Hashimoto wrote:
> Hi,
>
> I just finished writing this plug-in. I've been using rails for awhile
> but this is my first time extracting some code and writing it as a
> plug-in and I'd love to hear to some feedback. Thanks.
>
> http://mitchellhashimoto.com/rails/role-based-acce...
>
> -Mitchell
54079122b67de9677c1f93933ce8b63a?d=identicon&s=25 Mitchell Hashimoto (mitchellh)
on 2006-04-24 16:14
Hi David,

Sorry the README wasn't updated completely with the generators. I
renamed them to rbac_* later in development. I updated the readme now
but all generators instead of being prefixed with protect_* are now
prefixed with rbac_*

Mitch

David Marko wrote:
> I have tried to install it, put the plugin into vendor/plugins directory
> but it fails when running generators:
>
> C:\ruby_projects\radrails\workspace\auth2>ruby script\generate
> protected_migration
> Couldn't find 'protected_migration' generator
>
> I use it on WinXP, Rails 1.1.2 .
>
> David

And to David Mitchell:

My blog post explains the pros against acts_as_authenticated and
acl_system. I have not used ActiveRBAC very much but have glanced over
it and my plug-in, while keeping the flexibility of ActiveRBAC, allows
you to use protection straight out of the box. You can also write your
own authentication methods and customize the user model, but it is not
necessary. Those are the only solutions I am aware of...

Really it's my first plug-in and I'd just like feedback, I'm not trying
to sell a product. If you wish to use it, you can and I very much
welcome that! But if not, it's okay as this was a learning experience.

Mitch
F3dc06f587d1ff4c7366b102bfda9204?d=identicon&s=25 David Mitchell (Guest)
on 2006-04-25 03:18
(Received via mailing list)
Cool thanks.  I'll check it out when I kick off my next project - I'm
already tied to my own custom solution for the current one.

I'm really glad you (and others) are creating new options for
authorisation.  There's enough different use cases that having a wide
choice is a good thing.

Regards

Dave M.
This topic is locked and can not be replied to.