Support » Plugin: Wordfence Security - Firewall, Malware Scan, and Login Security » Apply permissions to ability to clear cache

  • Resolved locomo

    (@locomo)


    Hi

    When editing a post in the Publishing Actions metabox (when the Falcon cache is enabled) there is a link:
    Remove from Wordfence cache

    Could you add a CSS ID selector to this div wrapping this link so that we can show/hide this via plugins like Adminimize

    It would also be useful if a capability could be assigned to this action so that we can control what types of users can see/do this action

    thanks!

    https://wordpress.org/plugins/wordfence/

Viewing 5 replies - 1 through 5 (of 5 total)
  • WFSupport

    (@wfsupport)

    If we were to implement this based on user roles, which roles would you think could do this?

    tim

    Thread Starter locomo

    (@locomo)

    I guess i’d probably default it to administrators – but ideally you’d be able to select a user role from the cache configuration page .. and/or the options page. Could also give it a custom capability so that
    people could apply it to whatever role(s) they want.

    the CSS selector would be an easy short term fix and also allow for custom styling in the admin

    thanks for the fast reply

    WFSupport

    (@wfsupport)

    Added to our internal request system. I can’t promise that every suggestion we get makes it into a release, or when, but I can tell you that we take all our customer ideas seriously and carefully consider them before making a decision. Thanks for helping make our plugin great!

    tim
    FB702

    Hi,
    I would agree to this request to allow different User Roles use the ‘Remove from Wordfence cache’. I am trying to allow my editor access to do this but cannot find a way, even though I am using Advanced Access Manager, but Wordfence does not show up either in Admin Menu access or Capabilities list.
    Is there even a way to do this with some code in the functions.php?

    Otherwise, wordfence is great.

    No. We don’t allow anyone but admins to see the wordfence menu items as it is a security risk.

    tim

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Apply permissions to ability to clear cache’ is closed to new replies.