I've searched and looked through this group and the online
documentation for hours, but I'm having some difficulty with a simple
Its a simple setup:
User HABTM Permissions
Everything is setup properly (3 tables: users, users_permissions,
permissions). And everything works fine, I'm just trying to make a
I want a list of the permission for a certain user.
I can get a list of all permission: $this->Permission->find('list',
but i cannot seem to find the proper syntax to limit it to one user.
Everytime I try to limit the results by the user as the HABTM cake
The generated query drops the inner join to the permission table, and
only selects the user.
Or I can get a list of the User and all its Permissions in a rather
large array, but I cannot get a list.
Can anyone help?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at