On May 17, 7:34 pm, Justin Edwards <[email protected]> wrote:
> I've never tried to make the User model be named anything else.  I have
> users and roles many to many on both sides though.
>
> https://github.com/justinledwards/tinyauthdb/tree/2.1/app/Model
>
> https://github.com/justinledwards/tinyauthdb/blob/2.1/app/Model/Role.phphttps://github.com/justinledwards/tinyauthdb/blob/2.1/app/Model/User.php
>

Thanks. Mark said that too small "recursive" might be an issue,
although its default setting of 1 should be enough to reach the roles.
This looks like the most probable reason because
TinyAuthorize::authorize() receives plain $user with no joins. I'll
check that tomorrow. I'll also try adding the other side of HABTM to
Role.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to