Use this plugin:

https://github.com/markstory/acl_extras/tree/master

Then you just need to run the following command in your terminal and
it will sync all your acos:
cake acl_extras aco_sync


On Nov 23, 6:40 am, rethab <[email protected]> wrote:
> Hi all
>
> I have a deployed CakePHP application in production with DB based ACL
> for authentication. Every time I enhance the application (like another
> action), I truncate the tables acos and aros_acos. After that, I run
> the build_acl tool (which is suggested in the CakePHP Tutorial) and I
> set all the permissions.
>
> Is that the correct way to do it? How do you do that? I mean, that
> must be a lot of work, update all these tables every time you have an
> enhancement..
>
> Regards,
> Reto

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to