• Resolved rico34

    (@rico34)


    Hi,

    since I have updated to version 4.0.26. I have the following issue:
    I have organized my users into user roles (by your capabilities plugin) and permission groups. With the permission group I give the user edit rights for certain posts of custom post types but not for all the posts of a custom post type. By assigning edit rights to the permission group for the certain posts and adding the users to the particular group I have reached this goal.
    The edit rights for the user role for this custom post type in general where overwritten by the posts edit rules for the permission group. I guess that’s what the ‘Post-specific Permissions take priority’ was for. I am not sure, since I have not played around with it before the update to 4.0.26.

    This worked great until the update. Now the custom post types admin menu with the editable postings are not showing up for the users that belong to the permission group that holds the edit rights, unless I turn on the edit rights for their user role. Problem is that now I have to give this one user role edit rights for all my custom post types whether the user has posts to edit in them or not. So now when I do that, the users see not just their custom post type menu with their editable posts which they are supposed to see but also all the other custom post types admin menus which are empty and contain no posts.

    How to get rid of the empty custom post type admin menus? Is the setting for ‘Post-specific Permissions take priority’ supposed to take care of this problem? If so, I guess it is not working anymore.

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

    (@kevinb)

    @rico34 What version of the plugin were you using prior to the update? If you’re not sure, take a look at the version history log in Permissions > Settings > Advanced

    Thread Starter rico34

    (@rico34)

    It was version 4.0.23

    Thanks a lot for your fast response! ??

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @rico34

    How to get rid of the empty custom post type admin menus?

    You could actually do that by using Admin Menus features from PublishPress Capabilities Pro: https://publishpress.com/knowledge-base/admin-menus-screen/?swcfpc=1

    Plugin Author Kevin Behrens

    (@kevinb)

    @rico34 Make sure the Specific Permissions you assigned for page editing have a modification type of “Enabled”. This causes additional access beyond the user’s role capabilities.

    If you assigned permissions with a modification type of “Limit to”, that means the user still needs the corresponding role capabilities, but their effect will be limited to the specified pages.

    It may be that your configuration was relying on a bug in the previous Permissions plugin version, which did not actually impose type-specific capability requirements for custom post types registered by the ACF plugin. Since version 4.0.24, that’s corrected, so “Limit to” permissions will fail unless the user also has the needed role capabilities.

    By the way, this has nothing to do with the “Post-specific Permissions take priority” setting. That setting controls the priority of post-specific permissions versus term-specific permissions. If you click the information “quote” icon to the left of that checkbox, the following descriptive caption is displayed:

    If disabled, manually “blocked” posts can be unblocked by specific Category / Term Permissions.

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