Support » Plugin: PublishPress Permissions: Control Access for Posts, Pages, Categories, Tags » Post-specific Permissions take priority

  • Resolved bencomputer


    I think it’s not working properly.
    First, I set permissions for a category, which can be called the “Test” category. I set up read permission for this category for a custom group, called “A”.
    Then I create a post in the “Test” category called “Post 1”. I want to set up only a certain user to be able to read this post.
    However, the problem is that all other members of group “A” can view this post. Though I have already blocked Group A in the read permission settings of post “Post 1” already.
    As far as I understand, this will prioritize setting post permissions over categories.

    Please help me. Thanks very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kevin Behrens


    @bencomputer For that configuration, you’ll also need to add the following contant definition to wp-config.php (under existing define statements):

    define('PP_RESTRICTION_PRIORITY', true);

    Plugin Author Kevin Behrens


    @bencomputer This is actually a bug in the current release. The “Post-specific Permissions take priority” setting should be sufficient for your configuration, and will be in the next release.

    Note that the PP_RESTRICTION_PRIORITY will cause category-level restrictions to take priority over category-level allowances, and post-level restrictions to take priority over post-level allowances.

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