Custom User Capability without edit_post
-
Hi, I’m working on setting up different user roles which can access only the appropriate content types. Content types in question are pods based on custom post types.
For those pods, I’ve changed the user capability to ‘custom capability’, and given each role the appropriate capability.
The trouble is that the admin menu and the listing screen seem to remain controlled by ‘edit_post’ rather than the custom capability. So users who don’t have edit_post can’t use the pods they do have capability for.
If they go to wp-admin/edit.php?post_type=some_pod, they get the error “You do not have sufficient permissions to access this page.”. Even though they do have capability to edit that pod.
- The topic ‘Custom User Capability without edit_post’ is closed to new replies.