Hi, It seems that you don't use the latest version of the plugin, because in this one the code you mention is not on line 258.
I'm not sure which one you use, but since version 1.0.4 (january 2011), the roles permissions page can be loaded with Ajax. Basically it means that instead of one very heavy query, there is one query for each controller / role couple. With many controllers and actions, it is still a heavy load for the server, but at least it should prevent server timeouts. To enable Ajax loading, just set the acl.gui.roles_permissions.ajax parameter to true. Cheers, nIcO On 20 sep, 11:57, sathyashrayan <[email protected]> wrote: > 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 > functionhttp://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
