Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When building the table for /import feeds checks for 'create content type content' but not 'bypass node access'.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1191494-1-bypass_node_access.patch | 800 bytes | twistor |
bypass_node_access.patch | 649 bytes | twistor | |
Comments
Comment #1
twistor CreditAttribution: twistor commentedRejiggered the patch a bit so that feeds that can't be imported won't show up at all at the /import table. Also avoids notices about unset $title and $link variables.
Comment #2
Dave ReidActually the proper way is to use the node_access() function in this case. Fixed in Git on both branches.
http://drupalcode.org/project/feeds.git/commit/e7d04b9
http://drupalcode.org/project/feeds.git/commit/003bbc0