Re: [Rails] Help with authentication/authorisation design

2011-05-17 Thread Paulo Muggler Moreira
Not sure I understand whether the problem is capturing the business relationships in your Rails models, or applying your authorization frameworks to your app. Hope this helps a bit: It seems to me you would want to associate your Customers, Mechanics, and Garage Owners to some sort of Garage model

[Rails] Help with authentication/authorisation design

2011-05-17 Thread Pingu Penguin
Could someone help me with an authentication/authorisation design please? It's for a car garage application that allows a customer to monitor the status of their car. Here are my requirements: 1. I need a heirarchy of 4 users: A. Superuser (me) B. Garage owner. C. Mechanic.