Title: delete_supercache capability
Last modified: July 30, 2024

---

# delete_supercache capability

 *  Resolved [smarx80](https://wordpress.org/support/users/smarx80/)
 * (@smarx80)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/delete_supercache-capability/)
 * Hi, I wish to porpose you really simple improvement to properly handle cache 
   delete rights.
   In wpsc_admin_bar_render() there is a check on a hardcoded capability(
   edit_other_posts )which by default corresponds to the editor and administrator
   user levels.Could you replace it with a custom capability “delete_supercache”
   or add a nice apply_filter() so that I can determine who can delete the cache?
   I know that apparently this might seem like a marginal problem, but on many systems
   it might not be, especially since repeatedly clearing the entire cache would 
   effectively render WPSC useless and the system on which such websites run would
   require a lot more resources.
 * Thanks,
 * Simone.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Animesh Gaurav](https://wordpress.org/support/users/bizanimesh/)
 * (@bizanimesh)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/delete_supercache-capability/#post-17928787)
 * Hello Simone – could you please write this in a [GitHub request here](https://github.com/Automattic/jetpack/issues/new?assignees=&labels=%5BType%5D+Feature+Request&projects=&template=feature-request.yml&title=Feature+Request%3A)?
   Our dedicated team will take a look at that and get back to you with questions
   or feedback if needed.

Viewing 1 replies (of 1 total)

The topic ‘delete_supercache capability’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Animesh Gaurav](https://wordpress.org/support/users/bizanimesh/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/delete_supercache-capability/#post-17928787)
 * Status: resolved