From a custom module, I created a new type of content type via the drupal api (using the hook node_info). Thanks that, I can create node of this content type.
I would like allow access to nodes of this content type only for his author. And I want the author have only access to the view page of the node (edit page denied). How can I do that?
In Short: In my custom module, how allow only access to the view node page only the author of the node? The author can only access to the view page of a node created by the author. And, edits pages aren't be accessible for all non-admin users.