having trouble wrapping my brain around something.
My application is using auth/acl set up as Mark Story has suggested:
http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-pt-2
So, I've got this all working. Now for my app, the users can belong to
one of the following groups I've set up: students, teacher,
principals, administrators.
I'll just start with the first level. Teachers need to have access to
CRUD students. This is different from Mark's tutorial. The item being
edited isn't something like a blog post. Its an actual user. (So, user
from one group editing user from another group.) I don't think I need
to actually create a student model do I? A student is really just a
user that belongs to the students group. So, I know I do need a
students controller. How do I set this up? I'm thinking I need to use
the $uses variable, but beyond that I'm a little lost as to where to
go. Should my students controller just extend the users controller?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment