• would it be possible to allow Editor access to the “Purge” links in top admin bar?

    maybe through filters like here?

    i’ve modified functions define_ajaxurl and register_admin_bar_menu “if(current_user_can(‘manage_options’))” checks, but of course this invalidates plugin updates.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author adeelkhan

    (@adeelkhan)

    Hi @maxgx

    At the moment, WordPress has set the requirements of plugin access for user roles. By default, WordPress does not allow Editor to access plugins.

    Thread Starter maxgx

    (@maxgx)

    thanks @adeelkhan, i’m aware of WordPress role restrictions, what i was wondering was if you’d allow access to (at least) the Purge feature for site Editors.

    as shown on the link i’ve provided, i believe it’s well up with the plugin developer to provide access to plugin’s settings.

    i also believe that it’d be great if plugin developers, where possible, would give site Administrators the chance to decide whether or not to allow Editors control.

    most of the time it’s the Editor figure who deals with day-to-day use of the site, i only deem fair for them to be able to purge internal cache (or add widgets, or menus – by large one of the most obscure decision in WP world that leads to extra plugins or hacks).

    up until then, as developer, i’m left with hacking plugin’s core files to let clients handle cache (and widgets, and menus).

    this also leads to blocking the plugin updates (to avoid loosing the hack), put up warning messages (to warn about plugin not being updatable), take the necessary steps to reproduce the hack in the updated version.

    a simple filter/checkbox (“do you want Editor role to be able to purge cache? – yes/no”) may even bring peace to the universe ??

    Plugin Author adeelkhan

    (@adeelkhan)

    Hi @maxgx
    Thanks for this great feature suggestion. I think this should be added to the next release cycle.

    Plugin Author adeelkhan

    (@adeelkhan)

    Hi @maxgx

    Kindly Download the latest Breeze Build which includes allowing Editor access to the “Purge”.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘allow Editor access to purge’ is closed to new replies.