Restrict user role to 1 custom post type
-
Hello,
I tried to assign a user role “Agentur” to users, that should only have access to one specific custom post type (“Veranstaltungen”) and should be able to create new posts/edit/deelte ONLY their own posts in this custom post type – nothing else.ACCESS LEVEL:
I used the Access Level:a) Post type “Veranstaltungen”
AND
b) Authors = the ones with User level “Agentur”
CAPABILITIES:
In the capabilities, I denied access to almost everything, except:edit_posts (seems to show ALL post types, but deying this, does not show anything)
edit_published_posts
publish_posts
read
delete_published_posts
delete_private_posts
edit_private_posts
read_private_posts
edit_dashboardWhat do I do wrong? If I leave out edit_posts, it just shows me the Profile, that is it.
Thx for your help!
Franky
The topic ‘Restrict user role to 1 custom post type’ is closed to new replies.