I have added a few custom roles to my blog. They work fine and the capabilities are as I have specified. The thing is that every user has a list of ‘all’ the posts in his posts window. He can only edit his own posts but does see posts written by other users.
How can I add a restriction to the role (or any different way) to make sure a user only sees his own posts?
Try pasting this into your functions.php file. Anywhere, likely at the bottom away from other functions. This should restrict user’s from seeing posts that don’t belong to them.
I hope this works for you! 🙂