Strict Standards: Redefining already defined constructor for class Object in /home/dizz/cake_1.2.5/cake/libs/object.php on line 63

Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/dizz/cake_1.2.5/cake/bootstrap.php on line 47
Croogo Tip: After Adding New Actions, Refresh ACL Permissions |

Croogo Tip: After Adding New Actions, Refresh ACL Permissions

Posted by Andrew on November 16th 2009, 6:41pm

Recently I have been adding new features to my site (search, tag cloud) that involved adding new actions. Little did I know that the default ACL permissions use a whitelist instead of a blacklist meaning that all new actions by default will not be publicly avaiable.

When you add a new action to Croogo make sure you log in to your admin panel, go to Users > Permissions and then click on the "Generate Actions" button. This will generate all of the actions in your controllers and allow you to set the correct permissions for your new actions.

Bookmark and Share
Posted in Croogo


Andrew said on November 19th 2009, 7:46am
Ha, my site was down for the last 2 hours. I guess I forgot about this post after adding the archives.
Adam Gardner said on October 19th 2010, 2:46am
Im having a similar problem here, however i havent generated any new sections from the default that would require to refresh my acl permissions. All i see is a whitelist and cant seem to generate the editable blacklist shown on the demo regardless of clicking the generate actions button. Do you think this is caused because im doing it on a localhost?
Add New Comment