Skip to main content
10 events
when toggle format what by license comment
Nov 5, 2017 at 19:33 comment added Pierre.Vriens @sigridt merci for accept / +1 ... let me know when you posted your followup question ... neem gerust je tijd ... maar niet "te" lang ...
Nov 5, 2017 at 19:31 comment added sigridt follow-question follows, but not today. (ik denk er eerst nog even over na)
Nov 5, 2017 at 19:30 vote accept sigridt
Nov 5, 2017 at 19:12 comment added sigridt Conclusion: when content_access is in place and a node or content type has been set to be invisible to anonymous users, then views will not display these nodes when run by anonymous. Root cause of my problem is clear now. Is there a way to make cron an authenticated user? or do you see another workaround possible? the content type in question is for members only.
Nov 5, 2017 at 18:43 comment added Pierre.Vriens @sigridt dank je wel for the update (zullen we naar NL switchen???). About access view as anonymous: can you (temporary) create an extra PAGE display that produces the same set of rows as your views_rules display, and give that some path. Save it, and then try to browse that path without being logged in. This way there is "no" rules involved (just temporary, to do debugging). Also, that content access "might" be a related issue (though I'm not sure about that). Can you try to temporary allow access to 1 node (or create a new one) and re-test if that node then would show up for anonymous.
Nov 5, 2017 at 18:12 comment added sigridt I am not sure what you mean with "if you access the view as anonymous"? The preview gives a result, but I am not anonymous. Also, when executed from the UI, it is not anonymous. idea: I have drupal.org/project/content_access running on this site, saying this content type is for authenticated users only. Could this be the reason? maybe I should enable "Content Access Rules Integrations" ?
Nov 5, 2017 at 17:11 comment added Pierre.Vriens @sigridt Please edit your question to include an export of your Rule. Depending on how it looks like, that might be sufficient to pinpoint your issue. If it isn't, then you might have to also include an export of both of your Views. Without such extra info, I'd only be guessing about various possibilities. PS about your 2nd comment: if you access the view as anonymous, do you get any view results (in this scenario there is no rule involved, a matter of step by step debugging)?
Nov 5, 2017 at 17:10 comment added sigridt I have set access in Rules view to "anonymous user". But still cron gives empty mail.
Nov 5, 2017 at 16:45 comment added sigridt yes, it is drupal 7. But how can this explain be that loop2 does give results and loop1 does not? i have carefully set access in both views equal. if I would make the rules-view accessible to anonymous, will this lead to security risk of unauthorised users executing the view and seeing the emailadresses or other info?
Nov 4, 2017 at 20:24 history answered Pierre.Vriens CC BY-SA 3.0