I have had to do this in the past. My coding skills are adequate so i was able to do this without using a plugin. A quick google around brought the following article up, if you were going to attempt this manually. Assuming your using a custom post type.
Tutorial
You may find it easier with a plugin doing all the heavy lifting for you, so if you haven’t already check the plugin directory for capability managers etc.