ACL Scenario

2009-03-06 Thread Dave

Wondering if I could get some general feed back on what would be the
best way to set up ACL with a situation like this.
Education site basically.

A User signs up and during registration they select they teaching
professional level ( Pre-School thru Grade 12 each with a value in the
database 1-13 or such)

In the site the User can add a article(Post or whatever) but the only
people who can see the messages/articles would be the people in the
same professional level. So a grade 3 teacher can only see content
added by other grade 3 teachers and so on like that.

Now I was wondering how would I set something like that up? Would I
just set all the teachers up in 1 group then in the controller, based
on the professional level set up the restrictions and filtering of the
content? So when the teacher logs in use their level to run a query to
pull the data related to them?

Ideas, thoughts, suggestions?

thanks,

Dave
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Trying to conceptualize an ACL scenario

2008-01-07 Thread Robby Anderson


I'm having a bit of an issue trying to conceptualize how to use Cake
ACL to handle a particular business case that we need to solve. I'm
pretty solid on the basics of using AROs and ACOs, and I'm not worried
(for the moment) about the technical implementation. I just can't get
my head around how to go about structuring my AROs.

We have Users and a basic smattering of Groups (Superuser, Office
Admin, Assistant, Manager, Data Expert) as AROs. So far, no problem
visualizing that. Where I get into a quandry is that we also have
Sites (physical locations), and access is often, but not always, based
on the intersection of Group and Site - ie, some ACOs restrict access
by Site, some by Group, and some by both.

I can't figure out a simple way to structure these. We're looking at
hundreds or thousands of Sites, so I'd prefer not to create each Group
for each Site if it can be helped, but at the moment, I'm not seeing
another way.

Any ideas? Am I missing something really obvious?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---