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 A.", :callme => "Arie", :yahoo_messenger => "riyari3", :email => "firstname.lastname@example.org", :blog => %Q~ http://ariekusumaatmaja.wordpress.com ~ haree genee pake (as|ph)p ? siape lu mo bikin framework Ruby test/unit pake php :p
on 2006-04-28 08:03
on 2006-04-28 08:30
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-plu...
on 2006-04-28 11:14
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.