WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] Allow Editor role to Delete Cache?

[Plugin: WP Super Cache] Allow Editor role to Delete Cache?

  • I would like to add a link on the Admin Bar for users on my site with Editor role to be able to Delete the Cache on the site.

    I’m currently using Adminimize to hide a number of things from the Editor role. I want to use this plugin on sites I develop for my clients, but they have Editor access (I have admin access) to their sites.

    I tried writing a modified version of the supercache_admin_bar_render into my theme’s function file, but it seems that the core code is not allowing this functionality for roles less than admin.

    Obviously, I don’t want to edit the plugin itself – so any help to create a function to add this back in would be much appreciated.

    Thanks!

    http://wordpress.org/extend/plugins/wp-super-cache/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Update: I have a custom function that will put the Delete Cache link in the admin bar, but an Editor gets the insufficient privileges message.

    Is there a way I can give Editor role access to just this Delete Cache? Or to everything, and I just use Adminimize to hide everything else…

    Plugin Author Donncha O Caoimh

    @donncha

    As a hack look at the function that deletes the cache and change the role check. I’ll put this on the todo list.

    Thanks Donncha. I’ll try that, and it would be great to get this on the feature roadmap. I’m finding WP Super Cache indispensable for my clients, particularly those that are hosting on GoDaddy (shudder) 🙂

    Hi Donncha,

    I haven’t been able to figure this out. I’ve been looking in the files for the delete cache function, but I don’t think I’m looking in the right place because I’m not seeing the role check portion to change.

    Could you help point me in the right direction? I need to be able to get the Delete Cache button to show for the Editor role for my clients.

    Thanks!

    +1 from me too. Would love to see this added. Are we any closer to having it?

    I too would love to know where we are with this. I now have (3) clients that I’m having to do their cache deletes manually because I can’t assign this to an Editor. Any status? I’ll even take an ugly hack at this point…

    What would be even better and perhaps more useful would be to delete cache when you click update to a post. I really, really, really would love to have a solution for this.

    And Donncha, I just wanted to say THANK YOU THANK YOU THANK YOU for all the hard work you do. I’ll buy you something on your Amazon Wishlist very soon. You rock, man.

    Plugin Author Donncha O Caoimh

    @donncha

    meshmarketer – the cache should be deleted when you update a post. Use the debug log to figure out why not.

    housebg – try the dev version, it’ll update in the next 20 minutes and should allow editors to delete single pages from the admin bar.

    http://ocaoimh.ie/y/2o

    I’ve opened a ticket on your plugin so that we can address it there.

    Apparently this can be done in the latest version of the plugin. I still can’t see the option anywhere when logged in as editor though. Anybody else?

    Plugin Author Donncha O Caoimh

    @donncha

    @skinny-latte Disable caching for known users on the advanced settings page and you’ll see a “Delete Cache” link in the admin bar. It only deletes the cache for the current page.

    Xavvi

    @skinny-latte

    Aha, great thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WP Super Cache] Allow Editor role to Delete Cache?’ is closed to new replies.
Skip to toolbar