Change WordPress user roles and capabilities Forums How to or FAQ Limit access to custom post type child post

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4574
    abombelli
    Member

    Hello

    We have the following situation:
    – Created a hierarchical CPT “Working groups”
    – There we have created four different working groups
    – Now we want to have four different roles, where users can only view/edit posts on child posts of each working group
    – At the same time each working group manager should have access to the parent working group post

    How can we achieve this?

    Thanks
    Aldo

    #4577
    Vladimir
    Keymaster

    Hi Aldo,

    Edit restrictions add-on support hierarchy for the WordPress built-in pages only. It applies edit restrictions from the parent page to all child pages by default.

    I did not meet with usage hierarchical CPT until this moment.

    A possible workaround – use categories as working groups. User restricted by category can post to that category only. A problem – parent post will not be assigned automatically.
    URE Pro does not restrict parent posts available to a user.

    It seems that URE Pro is not ready for hierarchical scheme realized by you.

    May be you will think about work with this CPT without hierarchy, separating access to the items inside this CPT just by categories?

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