|CakePHP Official Site · Rules and Regulations||Help Search Members Calendar Shoutbox|
|Welcome Guest ( Log In | Register )||Resend Validation Email|
Posted: Oct 4 2011, 10:06 AM
Member No.: 2875
Joined: 11-June 11
First off, I have never fiddled around with ACL before.. But I decided to give it a go on my new app.
I have been following the guide at:
And have it all working just fine on my app. All models/controllers/views are almost exactly like the ones in the book for users and groups.
Now the reason I wanted a more "complex" user permission system is the main function of the app.
I am looking to tell ACL that that particular user belongs to another model, so that when logged in, only parts of the app, that are assosiated with that model, is accessible.
i have 3 groups: admin, team owner, user
Model - Team
(Register, Edit, Del,)
User belongsto -> Group + Team
Now when new user is created, I select Group (team owner/user) + Team (team1) that user belongs to.
This user access will be restriced to group + team1
example: User will have no access to team2, team3 and so on, other than the public views.
Anyone know how I can get this access going ??
Thanks for any help!!