CakePHP authorization user hasMany roles
This is an access control in CakePHP AppController working with AuthComponent. In this case:
User belongsTo Person;
Person hasAndBelongsToMany Role;
https://gist.github.com/3924633
Written by Tiago A.
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Acl
Authors
filipefmelo
106.3K
tiagoa
1.772K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#