Hi, I have met a case that anonymous users could create a node(i.e., create a reservation node in site). But anonymous users don't create that node from the standard node/add page. I have render that node add form(via node_add() function) inside a page.
As the title said, after the node is created, its status will be 'unpublished'. And, after anonymous user clicks 'save' button to creat the new node, browser will take user to the new created node page. Problem comes!!! This new node page will give error "You don't have permission to view this page", even this node is just created by the anonymnous user and the user is obviously the author of this new node. While anonymous user has the permission 'View own unpublished content', this problem seems to be a bug against drupal core?
Btw, I'm useing the latest drupal 7 version.
Any ideas? Thanks!