Clear Cache Permissions
Permalink
Hi Guys,
Looking for a little help with Advanced Permissions and whether this is possible or not....
I have set up Advanced Permissions and given my client access to all the areas that they need but I would rather not let them into System & Settings (for obvious reasons!). However, I would like them to be able to clear the cache if they need to. So I've copied the Optimisation section from the S&S area into the general area of the dashboard that they can access and I have opened up all of the permissions on the Clear Cache page so that their Contributor group have permission to see and click on it. If I login as the client and try clearing the cache, I get a Page Foridden message saying I'm not authorised to access this page: domain.co.uk/index.php/dashboard/system/optimization/clear_cache/do_clear/
Is there a way around this? It's been an issue on a few sites that I've built and I'd really like my more 'savvy' clients to be able to do this.
Thanks in advance!
Cheers,
Duncan
Looking for a little help with Advanced Permissions and whether this is possible or not....
I have set up Advanced Permissions and given my client access to all the areas that they need but I would rather not let them into System & Settings (for obvious reasons!). However, I would like them to be able to clear the cache if they need to. So I've copied the Optimisation section from the S&S area into the general area of the dashboard that they can access and I have opened up all of the permissions on the Clear Cache page so that their Contributor group have permission to see and click on it. If I login as the client and try clearing the cache, I get a Page Foridden message saying I'm not authorised to access this page: domain.co.uk/index.php/dashboard/system/optimization/clear_cache/do_clear/
Is there a way around this? It's been an issue on a few sites that I've built and I'd really like my more 'savvy' clients to be able to do this.
Thanks in advance!
Cheers,
Duncan
Or you could add this free block to the site somewhere that only the admins can get to.
http://www.concrete5.org/marketplace/addons/clear-page-cache/...
http://www.concrete5.org/marketplace/addons/clear-page-cache/...
Another approach would be to install this job:
http://www.concrete5.org/marketplace/addons/cache-vac/...
Then place a link to the url that runs the job onto a page, and make that page visible to your editors.
Your editors then go to the page and click the link. The Job gets run from the browser.
http://www.concrete5.org/marketplace/addons/cache-vac/...
Then place a link to the url that runs the job onto a page, and make that page visible to your editors.
Your editors then go to the page and click the link. The Job gets run from the browser.
My solution was put the page back where it belongs in the dashboard (i have learned its best to keep those admin bits in the right place), otherwise when you run the clear cache tool it throws an error (as you have).
Then create a page alias in your sitemap for the Clear Cache page and put it at the parent level or whatever level is accessible and set the permissions correctly for that for the client to see.
Also I would login as the client and bookmark the clear cache page with the star symbol top right and it will go into their quick menu so its slick and easy to use.