You can define fully customized set of capabilities for each role, along with defining specific set of post categories, pages, and custom post types to.
Custom Access Roles provides interface for managing these roles and capabilities, with checkboxes for each capability grouped by the standard roles they're associated with, plus checkboxes for each post category, page, and custom post type, presented in organized hierarchy...
Pages and Categories are listed in order, with checkboxes to select which ones for.
Activate the plugin through 'Plugins WordPress..
Note that this will give these users the ability to edit Posts as well, but only for the specific categories they've been given access to using this plugin.
If you are creating role that should be able to edit Pages, under the Capabilities tab uncheck all capabilities containing the word posts..
Capabilities for CPTs are bit more complicated, because some CPTs have their own custom capabilities, while others do not, and default to using the posts capabilities.
You'll need to inspect the configuration of CPT to determine which capabilities are used...
Unfortunately because of how the WooCommerce are grouped, this role will still have the capability to edit all of WooCommerce Settings..
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more