Hi Alberto
> You lucky...
>
> I got a lot of problems because when I tried to implement othAuth, it
> didnt' work...basically because I could only use the "admin" user and
> not the "oth" one...and also I didn't understand the
> permissions...maybe you think you can help?
It took me a while to get my head around how to properly set the
permissions in the controller and the permissions table. Once I had it
right though, I was away and it worked fine.
The trick for me was:
LeadersController:
var $othAuthRestrictions = array('index');
Permissions table in DB:
Name: leaders/index
This arrangement (along with the appropriate group mapping for the user)
protects the "index" action of the leader controller.
Hope that is useful to you. Feel free to post some code and DB values
here if you like. I would be happy to look at them for you.
Regards,
Langdon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---