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-access-control-plug-in-for-rails/ -Mitchell -- Posted via http://www.ruby-forum.com/.
Hi Mitchell, What''s the pros and cons of your RBAC plugin vs. the others that are already out there? Regards Dave M. On 24/04/06, Mitchell Hashimoto <xmitchx@gmail.com> 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-access-control-plug-in-for-rails/ > > -Mitchell > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
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 On 4/23/06, David Mitchell <monch1962@gmail.com> wrote:> Hi Mitchell, > > What''s the pros and cons of your RBAC plugin vs. the others that are > already out there? > > Regards > > Dave M. > > On 24/04/06, Mitchell Hashimoto <xmitchx@gmail.com> 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-access-control-plug-in-for-rails/ > > > > -Mitchell > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
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-access-control-plug-in-for-rails/ > > -Mitchell-- Posted via http://www.ruby-forum.com/.
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 . > > DavidAnd 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 -- Posted via http://www.ruby-forum.com/.
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.> 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 > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >