let's say I have a web site that has a "resume" form designed only for authenticated users. After the users log in, they can submit their resume. later they can come back and view/update their own resume.
I am trying to build a content type called "resume" programmatically. However all of content type creation samples I read don't work this way. After the new content is created, it doesn't have any association with the user who created it anymore. If I come back via navigation menu item "Create content", I still see a blank content you have to create again. Even though I can try to directly access the content I created early, it becomes available to all authenticated users.
So how can I have a content type whose content has directly association with the authenticated user who creates? is this the right way to create this "resume" form with content type in Drupal? Can anyone give me some advices here?