Support » Plugin: User Role Editor » Posts Edit Access settings override other explicit capabilities

  • Trying to figure out how to limit access to editing certain sections of our site pages. Putting in the post ID for the top level page of the section appears to mostly be working. But after restricting access to editing a specific section of pages, they’re also restricted from creating new events (The Events Calendar plugin by Modern Tribe). This happens even when the user role has been given all the capabilities related to events. Is there a way to scope the restrictions better so you can target just pages or just posts (news/blog entries) so that it doesn’t overlap with custom posts like events?

    • This topic was modified 5 months, 2 weeks ago by sjnbham.
    • This topic was modified 5 months, 2 weeks ago by sjnbham.
Viewing 7 replies - 1 through 7 (of 7 total)
  • This also seems to affect the ability to access/edit media files as well. While the user can still upload new media and edit their own, they can’t see or edit other user’s media even though they have all of the following media related capabilities assigned to their role:

    delete_attachments
    delete_others_attachments
    delete_private_attachments
    delete_published_attachments
    edit_attachments
    edit_others_attachments
    edit_private_attachments
    edit_published_attachments
    publish_attachments
    read_private_attachments

    svtraisa

    (@svtraisa)

    any updates or solutions yet?
    I also want to restrict user roles to only let an author edit posts, but not projects or events. And this doesn’t work at all for me….

    sjnbham

    (@sjnbham)

    Note that there’s a known issues with granting users the ability to edit only specific types of posts and still specific feature images. Without the edit_posts capability, users can’t edit feature images. But that capability allows them to edit any type of post. Just mentioning this because it’s one of the obstacles we have in addition to the one above in separating capabilities and content editor roles.

    svtraisa

    (@svtraisa)

    Okay – but will this be changed in the future? As this was the only reason I installed the plugin as I want an Author just to be able to edit/write posts with pictures but not to e.g. edit or create new events.

    Or did I get anything wrong?

    sjnbham

    (@sjnbham)

    For more details on the requirement to grant edit_posts capability in order to access the feature image field see: https://core.trac.wordpress.org/ticket/46723

    Sorry I might have missed something – but does this just say it is not possible to make it work as it would require core changes from WordPress?

    What is the point of the plugin if you can’t change it the way the options seem to offer?

    You might try this out again. Looks like CORE might have been updated to address this. Can anyone else confirm if this fixed the issue for you?

    https://core.trac.wordpress.org/ticket/46723

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.