Todd Benson
11/10/2008 6:46:00 AM
On Sun, Nov 9, 2008 at 5:17 PM, John Goetz <goetz.john@gmail.com> wrote:
> Hello,
> I have a typical class called Users. Each user has a Role (one of
> administrator, teacher, student, parent, or trustee). How do I design my
> controller/views/routes to best implement links to administer each
> group, like this:
> Student Administration
> Parent Administration
> Teacher Administration
> Trustee Administration
> Administrator Administration
This question probably belongs in the Rails list/group.
In any case, I don't know your situation, but; are you sure a trustee
administer cannot also be a student administer, or a a parent
administer also be a trustee administer. Sound like a weird relation
you are trying to force. If they are mutually exclusive, fine, but
I've never seen a setup like this.
The problem is, I guess, that you may have to make the shoe fit later
if you want to go that route.
Todd