I''m working on a rather large app, where we have more than 7 user roles, each of which will have permission to access different parts of the application. Now the User/Admin system is falling short so I need to redefine the access control system. I am thinking of coding something like cakephp uses, with aro''s and aco''s but is rather unmantainable to have a table with every single possible route and grant access to roles. what is the best way to manage access control? how do you do it? Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> I''m working on a rather large app, where we have more than 7 user > roles, each of which will have permission to access different parts of > the application. > > Now the User/Admin system is falling short so I need to redefine the > access control system. > > I am thinking of coding something like cakephp uses, with aro''s and > aco''s but is rather unmantainable to have a table with every single > possible route and grant access to roles. > > what is the best way to manage access control? how do you do it?I don''t, but you could try one of these: http://agilewebdevelopment.com/plugins/search?search=acl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Check out restful authentication plugin, and the role authentication plugin that works as an addition On Sep 9, 8:50 am, max <m...-jsXXHfX3oBpBDgjK7y7TUQ@public.gmane.org> wrote:> I''m working on a rather large app, where we have more than 7 user > roles, each of which will have permission to access different parts of > the application. > > Now the User/Admin system is falling short so I need to redefine the > access control system. > > I am thinking of coding something like cakephp uses, with aro''s and > aco''s but is rather unmantainable to have a table with every single > possible route and grant access to roles. > > what is the best way to manage access control? how do you do it? > > Thank you.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I am actually using the restful_acl, and restul_authentication plugins, but they are really falling short On Sep 9, 11:28 am, elFonso <aadrias...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Check out restful authentication plugin, and the role authentication > plugin that works as an addition > > On Sep 9, 8:50 am, max <m...-jsXXHfX3oBpBDgjK7y7TUQ@public.gmane.org> wrote: > > > I''m working on a rather large app, where we have more than 7 user > > roles, each of which will have permission to access different parts of > > the application. > > > Now the User/Admin system is falling short so I need to redefine the > > access control system. > > > I am thinking of coding something like cakephp uses, with aro''s and > > aco''s but is rather unmantainable to have a table with every single > > possible route and grant access to roles. > > > what is the best way to manage access control? how do you do it? > > > Thank you.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
max wrote:> I am actually using the restful_acl, and restul_authentication > plugins, but they are really falling shortCheck out this tutorial on restful_authentication, maybe it could give you some ideas on access control. http://railsforum.com/viewtopic.php?id=14216 mike -- 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 -~----------~----~----~----~------~----~------~--~---
tried this one? http://agilewebdevelopment.com/plugins/show/807 On Sep 9, 9:56 am, max <m...-jsXXHfX3oBpBDgjK7y7TUQ@public.gmane.org> wrote:> I am actually using the restful_acl, and restul_authentication > plugins, but they are really falling short > > On Sep 9, 11:28 am, elFonso <aadrias...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Check out restful authentication plugin, and the role authentication > > plugin that works as an addition > > > On Sep 9, 8:50 am, max <m...-jsXXHfX3oBpBDgjK7y7TUQ@public.gmane.org> wrote: > > > > I''m working on a rather large app, where we have more than 7 user > > > roles, each of which will have permission to access different parts of > > > the application. > > > > Now the User/Admin system is falling short so I need to redefine the > > > access control system. > > > > I am thinking of coding something like cakephp uses, with aro''s and > > > aco''s but is rather unmantainable to have a table with every single > > > possible route and grant access to roles. > > > > what is the best way to manage access control? how do you do it? > > > > Thank you.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sep 9, 12:56 pm, max <m...-jsXXHfX3oBpBDgjK7y7TUQ@public.gmane.org> wrote:> I am actually using the restful_acl, and restul_authentication > plugins, but they are really falling shortMay I ask how? Can I help? --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---