I am trying to set the order for my Authorize components.
I have a App/Controller/Component/Auth/OrgAuthorize.php

I have tried starting with
in AppController
     public $components = array(
         'Auth' => array(
             'authorize' => array('Controller')
             )
     );

Then in my OrganizationContoller
     public $components = array(
         'Auth' => array(
             'authorize' => array('Org')
             )
     );

The problem is that it Orders the authorize to look like 
array('Controller', 'Org')
But I would like the array to look like array('Org', 'Controller'), so 
Org get called first.
I don't need Org in all the controllers.

how can I reorder the array?

Thanks,
Bill


--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/Authorize-component-ordering-tp5688772.html
Sent from the CakePHP mailing list archive at Nabble.com.

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