• click

    (@perwilhelmsen)


    Hi,
    we’ve got a few customers using ‘custom roles’ for their sites, eg. disallowing users to modify site settings (plugins, site config etc), but allowing them to do other specific calls.
    As per today, users with the editor-role can see the purge-menu, but with no options available for pages (frontpage purge by an editor is not possible).

    We’re thus wondering if there’s an easy way to allow ‘lesser’ roles to do purges for pages, not just articles/posts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    We’re thus wondering if there’s an easy way to allow ‘lesser’ roles to do purges for pages, not just articles/posts?

    Not easily. The role check would be the same for pages and posts, meaning if they could purge a page, they could purge a post.

    There is room to improve the check (that is, I think it’s a bug that the individual page doesn’t show to people who _can_ edit a page), but that may be too loose for what you’re asking.

    Do you need them to only flush a page, or would allowing them to flush any page or post they could edit be okay?

    Thread Starter click

    (@perwilhelmsen)

    Allowing them to purge any page/post they could edit would be sufficient I think.

    Some additional background:
    Case 1 is a newspaper-site which has an editorial staff, and where we’ve adviced them to keep the amount of administrators to a minimum. They have lowered the roles for the additional administrators down to an ‘editor’ role.
    They would prefer to have access to to a complete purge, however.

    Case 2 is related to a client using a “custom roles”-plugin, which incidentally resembles the same issue as case 1 – eg. the site-admin has restricted their clients access to only be able to handle specific tasks via a custom role-based setup.

    In both cases it seems to be an issue of granting/restricting access to
    – edit/purge the frontpage (or ALL pages)
    – edit/purge pages they can edit
    – edit/purge articles/posts they can edit

    Additional: A colleague of mine commented that this COULD be resolved by adding support for using filters in the plugin.

    • This reply was modified 2 years, 3 months ago by click. Reason: Clarification
    • This reply was modified 2 years, 3 months ago by click.
    Thread Starter click

    (@perwilhelmsen)

    Hi, any news on corrections/adjustments with regards to role-based purges?

    Hi there, I was also running into this issue. It is fixed by this patch: https://gist.github.com/mchobbel/0f9851539f723a376d3a952fa66303db

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Support for Editor-role doing pagewide purge’ is closed to new replies.