I really like the way acts as authenticated works. Has anyone attempted to use it with multiple tables for users? Basically, the idea is having a table for admins, and one for users. Is there another plugin out there that would be better suited? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Justin Mazzi wrote:> I really like the way acts as authenticated works. Has anyone attempted > to use it with multiple tables for users? Basically, the idea is having > a table for admins, and one for users. Is there another plugin out there > that would be better suited?To get what you want you should assign "roles" to specific users. Look into acl_system, you want to add a table "roles" and then "roles_users" to tie users into the roles you require. http://www.agilewebdevelopment.com/plugins/acl_system I use it and love it. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Shai Shefer wrote:> Justin Mazzi wrote: >> I really like the way acts as authenticated works. Has anyone attempted >> to use it with multiple tables for users? Basically, the idea is having >> a table for admins, and one for users. Is there another plugin out there >> that would be better suited? > > To get what you want you should assign "roles" to specific users. > > Look into acl_system, you want to add a table "roles" and then > "roles_users" to tie users into the roles you require. > > http://www.agilewebdevelopment.com/plugins/acl_system > > I use it and love it.will that let you send them to different areas of the app based on role? like /user or /admin -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Justin Mazzi wrote:> Shai Shefer wrote: >> Justin Mazzi wrote: >>> I really like the way acts as authenticated works. Has anyone attempted >>> to use it with multiple tables for users? Basically, the idea is having >>> a table for admins, and one for users. Is there another plugin out there >>> that would be better suited? >> >> To get what you want you should assign "roles" to specific users. >> >> Look into acl_system, you want to add a table "roles" and then >> "roles_users" to tie users into the roles you require. >> >> http://www.agilewebdevelopment.com/plugins/acl_system >> >> I use it and love it. > > will that let you send them to different areas of the app based on role? > like /user or /adminI should also add, that this isnt a shared interface. Depending on the type of user, its going to send them to a different set of controllers etc. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---