the creation of AROs is done
by the ACL behavior.
Maybe if you want to disable this create temporarily you can do:
$actsAs = $this->User->actsAs;
$this->User->actsAs = null;
$this->User->save();
$this->User->actsAs = $actsAs;
from your controller if you want to disable the ARO creation
selectively.
If you want to disable it completely, simply don't add the ACL
behavior to your user model.
On Mar 24, 4:34 pm, baur79 <bau...@gmail.com> wrote:
> Hi,
> i have the working ACL cakephp app (group based ACL)
> i have users in group and make them ACL group-based
>
> every time a register new user it creates new ARO for user
> how can disable to creation in "aro" table, cause it make the trash rows
> (60 000 user = 60 rows)
>
> user model
> public $actsAs = array('Acl' => array('type' => 'requester'));
>
> group model
> public $actsAs = array('Acl' => array('type' => 'requester'));
>
> thanks in advance
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment