Arie Kusuma Atmaja
2006-Apr-28 04:01 UTC
[Rails] ["acts_as_authenticated"] << "Role-Based Authorization Rails Recipe"
hi guys, has anyone here implemented role based authorization from rails recipes into acts_as_authenticated ? how''s it going? Case: there is ONE admin. And MANY users. Admin is the only one who can create, edit, delete user, etc.. users also need to login, but go to different pages. do you guys think it''s good to try rick''s acts_as_authenticated + chad''s role based authorization ? -- sig "kind regards" :name => "Arie Kusuma Atmaja", :callme => "Arie", :yahoo_messenger => "riyari3", :email => "ariekusumaatmaja@gmail.com", :blog => %Q~ http://ariekusumaatmaja.wordpress.com ~ haree genee pake (as|ph)p ? siape lu mo bikin framework Ruby test/unit pake php :p
Liquid
2006-Apr-28 04:30 UTC
[Rails] ["acts_as_authenticated"] << "Role-Based Authorization Rails Recipe"
Ezra has written role based authorization for acts_as_authenticated His blog entry about it is here http://www.brainspl.at/articles/2006/02/20/new-plugin-acl_system On 4/28/06, Arie Kusuma Atmaja <ariekusumaatmaja@gmail.com> wrote:> > hi guys, > has anyone here implemented role based authorization from rails recipes > into acts_as_authenticated ? how''s it going? > > Case: > there is ONE admin. And MANY users. Admin is the only one who can > create, edit, delete user, etc.. users also need to login, but go to > different pages. do you guys think it''s good to try rick''s > acts_as_authenticated + chad''s role based authorization ? > > -- > sig "kind regards" :name => "Arie Kusuma Atmaja", :callme => "Arie", > :yahoo_messenger => "riyari3", :email => "ariekusumaatmaja@gmail.com", > :blog => %Q~ http://ariekusumaatmaja.wordpress.com ~ > > haree genee pake (as|ph)p ? > siape lu mo bikin framework Ruby test/unit pake php :p > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060428/f16b9e7b/attachment.html
Jim Morris
2006-Apr-28 07:11 UTC
[Rails] ["acts_as_authenticated"] << "Role-Based Authorization Rails Recipe"
Yes that is exactly what I did. I like the simplicity of acts_as_authenticated, and the simplicity of the recipe rbac. It was relatively easy, there were a few modifications I needed to make to the acts_as_authenticated to make it work cleanly. I''ll see if I can diff the changes and post them here later. Arie Kusuma Atmaja wrote:> hi guys, > has anyone here implemented role based authorization from rails recipes > into acts_as_authenticated ? how''s it going? > > Case: > there is ONE admin. And MANY users. Admin is the only one who can > create, edit, delete user, etc.. users also need to login, but go to > different pages. do you guys think it''s good to try rick''s > acts_as_authenticated + chad''s role based authorization ? >