List/edit own posts, not create new ones
-
tl;dr: I want to prevent users from submitting new posts for review, yet still being able to edit/list only their own auto-created post(s).
I have created a site where each auto-created user owns only one post of a custom post type (their own personal details and info text with custom fields). This post is auto-created for each user by my own plugin and users are supposed to be able to edit their own details through the wp-admin menu.
With Capability Manager Enhanced I got as far as creating a role that allows those users to only edit their own posts. However, they are not supposed to be able to submit new ones for review. I disabled “Create” capability for this post type, however, this completely hides the post type from the wp-admin menu and users are no longer able to view a list of this post type (containing only the post they are able to edit). If I re-enable “Create” capability, the post type with only one post shows up again, but so does the “Add New” option. Only hiding away the “Add New” (but keeping it active) as proposed in many threads would be a really lame way to solve that.
- The topic ‘List/edit own posts, not create new ones’ is closed to new replies.