• Resolved Patrick Daly

    (@developdaly)


    When multiple authors are assigned to a page only the primary author has editorial access. The functionality works fine for a post.

    I’m fairly certain this is because add_coauthor_cap() is only adding capabilities for the post type.

Viewing 2 replies - 16 through 17 (of 17 total)
  • A user with ability to edit their own posts but not others couldn’t edit if they weren’t listed as the first author of a post. Typically their role would be that of Author. I believe by default Authors have the publish_posts capability. I was using the user-role-editor to add customize roles. The publish_posts capability was not granted to Authors and thus a problem.

    If Authors have the publish_posts capability by default this problem won’t appear. It only becomes a problem if they don’t have the publish_post capability. (The publish_post is for granting/denying permission to publish new posts/pages.) As mentioned, the system was checking the publish_posts capability to allow or deny editing of an already published post. The problem is that this is the wrong capability; the edit_published_posts capability is for allowing/denying permission to edit already published posts.

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Thanks for your persistence, Doug. I’ve committed a fix that will be available in v2.6.3

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Multiple authors can't edit pages’ is closed to new replies.