Thank You for this simple, but efficient plugin. I needed it for pages, and it worked fine.
I tried it with posts also, but it did not show the editors meta box.
]]>The New submenu becomes an issue. I have it so a user role can create a new post but can only edit a particular page. However the New > Page menu appears and upon clicking gives a “Cheatin’ uh?” page. Great that it prevents a new page creation but for a client site this is not adequate.
Maybe needs to be combined with some submenu hide logic.
Edit:
Added this to a function in my theme but maybe can be put in the plugin:
remove_submenu_page( 'edit.php?post_type=page', 'edit.php?post_type=page' );