I have an Auth Acl setup working fine.
 
I have scope-> Users.confirmed to verify they confirmed their email before
they can login in...no problem.
 
Now I have added User.status which is:
 default 0 = pending admin approval
1 = active
2= suspended
 
 
Now I have 3 scenarios to allow access to the site (all based on
User.confirmed = true)
 
So if User.status = 0 they can only access their profile
User.status = 1 they have full access to the site
User.status = 2 they cant do anything
 
What would be the best way set up these additional permission checks after
the user has logged in? 
My ACL is restricting controllers/actions based on group_id.
 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to