quickapps / cms

Modular CMS powered by CakePHP
GNU General Public License v3.0
164 stars 69 forks source link

Permission not working in new plugin #138

Closed mananmodi22 closed 8 years ago

mananmodi22 commented 8 years ago

Hi,

Have made new plugin, in controller file have made one method testing and defined URL "testing" in route file, now "testing' url is called only when i am logged as super admin (In backend i have given access for anonymous user to access testing URL) but guest/anonymous user can not access testing url.

It seems permission module not working(URL testing should work for all users as it is already given access from admin panel permission table to all users), please guide us soon is there anything missing here.

Manan

mananmodi22 commented 8 years ago

ChristopherCastro,

Any comments on above issue?

botchris commented 8 years ago

Sounds similar to https://github.com/quickapps/cms/issues/136

Where permissions seems to fail due to cache invalidation.

It was solved few days ago, so try to update your code in order to integrate the fix.

Beat Regards!


You can also try to manually clear your permissions cache: remove the directory /tmp/cache/acl