Using rules I have created a rule to send a mail 15 days after a node has been created. This node is private and referenced fields to other private nodes, so anonymous users don't have access to it.

When the mail is sent using "drush cron"; reference title is empty (just nid is visible), but if I login as admin and check "http://localhost/cron.php" the mail contains reference title.

I think the problem is Token use node_load() if user don't have access to a referenced node, referenced title is not loaded.

This problem is similar to #256795: Allow simplenews cron to send nodes that anonymous users cannot access

Any hint of how to overcome this?

thanks.

Comments

bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)