• Resolved aryanrajseo

    (@aryanrajseo)


    Hi, I am creating a role for a member that can work with a specific post type only. In role, if i select Post Types, i only see Capability Grant All Deny All

    There is no option to select a post type to allow or deny. How can i do that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Omar ElHawary

    (@omarelhawary)

    Hi @aryanrajseo 👋

    Members doesn’t allow or deny access by post type name directly. It works by managing capabilities, so what you can control depends on which capabilities the post type registers in WordPress.

    In your case, it looks like the custom post type is inheriting the default Post capabilities. That’s why, in the Role editor, you only see the broad Grant All / Deny All options and no post-type-specific permissions.

    If your post type is created using ACF → Post Types, you’ll need to enable Permissions → Rename Capabilities for that post type (as shown in this screeshot): https://screenrec.com/share/PeQspc3yhO

    Once this option is enabled and you set a singular/plural capability base (for example movie / movies), ACF will register its own capabilities such as edit_movies, publish_movies, etc.

    After that, you can go to Members → Roles → edit the role, search for those capabilities, and grant access only to that specific post type.

    If your goal is to control viewing access on the front end rather than editing access in the admin area, you’ll want to use Content Permissions on the post type instead.

    If you still don’t see the post-type-specific capabilities, please let us know how the post type is being registered, and we’ll be happy to help further.

    Regards,

    Thread Starter aryanrajseo

    (@aryanrajseo)

    Worked. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.