You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2020. It is now read-only.
I'm trying to do this:
and my SQL is coming out like this:
In permisssionable/models/behaviors/permissionable.php, when I debugged the $Model before and after this line of the beforeFind() function:
the $Model did not and then did have a 'hasOne' binding to GroupPermission however for some reason it isn't being applied to the ->find('list') query.
I tried to do a $this->Group->find('all'); and that did work as expected.
I'm calling $this->Group from my users_controller where I have:
var $uses = array('User', 'Group');
I have User HABTM Group and Group HABTM User defined in the appropriate model files.