This question already has an answer here:
I have one user on WP website. I want to give him editor role because he need to edit pages and as I see - edit_pages capability requires user to be at least editor. The problem is that i want to limit list of pages and posts that he can edit. How it can be done?