Last Updated: February 25, 2016
·
1.774K
· tiagoa

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