Hello everyone!

I've been trying to make a simple site using Acl/Auth. Everything is going
fine, except that I don't quite understand the differences between the 4
kinds of 'authorizes', nor how to implement them.

For example, I don't understand how can I use the AclComponent::check() to
authenticate the user when using authorize->'actions'. The same with
authorize->'crud'. Where do I put the mapAction? In appController, or in
every controller? What does it exactly do?

Sorry, but every blog I found about this say that they don't really know how
to use those, and the manual is very briefly about this!

Thanks!!!

(By the way, I'm using authorize->'actions' and I keep getting 
[code]
 DbAcl::check() - Failed ARO/ACO node lookup in permissions check.  Node
references:
Aro: Array
(
    [User] => Array
      (
            [id] => 3
            [username] => normaluser
            [name] => miguel
            [email] => [email protected]
            [group_id] => 2
            [active] => 1
            [created] => 0000-00-00 00:00:00
            [modified] => 0000-00-00 00:00:00
        )

)
[/code]
)


-- 
View this message in context: 
http://www.nabble.com/AuthComponent---Need-more-explanation-about-%22%24this-%3EAuth-%3Eauthorize%22-tp24870310p24870310.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to