node_access not set on submit
hyrcan - November 20, 2007 - 20:41
| Project: | Node Go To |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
In version 5.x-1.0 of Node Go To, the submitted node gets created, and the user is redirected as expected. However, the node_access data for that node is not created, thus any user other than user/1 will get an Access Denied message.

#1
you just need to recreate the new node_access list, drupal implement a way to do that just through
administer/Content management/Post settings
press recreate and that all
#2
While that is one method of doing this I have found that if I add node_access_acquire_grants($node); to the nodegoto_nodeapi function just before the checks are made. This method works as long as you make sure that nodegoto_nodeapi is the last function invoked during a node_save.
The advantage to this solution over the other one listed for me is that I have lots of users who are creating content and because of that I do not want any time gap where they can not access the data they just created.
#3
You might be interested in https://more.zites.net/workflow-ng/node_insert_redirect...
#4
Hi,
It has been fixed in the new version.
Thanks,
introfini
#5
Automatically closed -- issue fixed for two weeks with no activity.