Group,
  I used Alaxos ACL plugin found here..

http://www.alaxos.net/blaxos/pages/view/plugin_acl

In my project i have more than 165 actions and 55 controllers,
including ADD, EDIT ect. When I clicked role wise permission in the
plugin (admin/acl/aros/role_permissions) i get

Fatal error: Maximum execution time of 60 seconds exceeded in [path]
\cake\libs\model\datasources\dbo\dbo_mysql.php on line 600

I know i could just use set_time_limit(0); in the action
admin_role_permissions() of [path]\app\plugins\acl\controllers
\aros_controller.php

But when I went on commenting out some lines in that controller, i got
the point where the execution exceeds the limit. If i am not wrong
then it is on this line

 $authorized = $this->Acl->check($role, $full_action); Line-258

The I saw this function in core cakephp [path]\cake\libs\controller
\components\acl.php on the function
http://book.cakephp.org/view/1249/Checking-Permissions-The-ACL-Component

I see two foreach after Set::extract() call. Can anyone point out
where the execution exceeds the limit. Thanks for any help.

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