Hi all,

I have follow the Cookbook on Acl and Auth and i don't unterstand what
that lines means :

    <?php
    // Basic setup
    $this->Auth->authorize = array('Controller');

or

    // Pass settings in
    $this->Auth->authorize = array(
        'Actions' => array('actionPath' => 'controllers/'),
        'Controller'
    );
or

    // Pass settings in using 'all'
    $this->Auth->authorize = array(
        AuthComponent::ALL => array('actionPath' => 'controllers/'),
        'Actions',
        'Controller'
    );
?>

My ACL work if i put this code in my application but i don't
understand why... Can you give more information please ?

 $this->Auth->authorize = array(
                 AuthComponent::ALL => array('actionPath' => 'controllers',
'userModel' => 'BaseUtilisateur'),
                'Actions',
    );

-- 
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