According to the docs:
author_id="CURRENT_USER"This allows each logged-in user to get only their entries. Users who are not logged in won’t see anything.
However, I’m experiencing different behaviour with the following reduced test-case:
{exp:channel:entries channel="orders" dynamic="off" entry_id="{segment_3}" author_id="CURRENT_USER" status="open|closed|my_custom_status" limit="1" disable="member_data|pagination|trackbacks|categories"}
...Stuff goes here
{/exp:channel:entries}With the code above, even when I am not logged in, I can see the entry.
If I remove the ‘entry_id’ parameter, it works as expected.
EE v2.2.1 - Build: date 20110705
Please advise, thanks.
- Adam