Revoking reading capabilities for custom post types
-
I’m trying to revoke reading capabilty for some of my roles to some of the custom post types I have, using the Capabilities plugin.
This is where I expected to find that option: https://tppr.me/CVOUrN, but there’s only Read Private option.
I’m aware that everyone, even non-users have Read rights, and I solved that with Permissions plugin, by limiting reading rights to all non-loggedin users.
Now, among logged in ones, I want to define which role has access to which CPT.
I get that I could use Permissions plugin to do so, but I have multiple Roles and multiple CPTs, and Permissions plugin allows me only to set reading limit to “none” for each of the CPTs (https://tppr.me/LK51a8), and the problem with that is when the new post is added to that CPT, it’s not included in the list of posts my Role doesn’t have access to. Meaning I have to manually go to Permissions settings and set reading limit to “none” each time a new post is published. And that’s just tiresome when you have 3-4 different roles with combination of 3-4 CPTs.
To get to the point, my question is – what’s the best approach to limiting Reading access for some of the Roles to some of the CPTs?
And somewhat connected question – is there a better way to revoke Reading access to all non-logged in users?
- You must be logged in to reply to this topic.