[Zope-CMF] Get list of published items that user has access to
Dave Lehman
davelehman@loewen.com
Mon, 22 Oct 2001 21:17:15 -0500
Hmm... you're right-- the effective date does work for non-priviledged
users. Is this behaviour by design? I guess this is OK-- just a bit
unintuitive at first blush.
Thanks for your quick response.
--dave
>> Is there an extra filter I can add to the search to have it honor
>> effective_dates?
>
>Can you please verify that this is true only if you are logged in as
>
>a manager or reviewer? Non-privileged users should only see content
>which is within its effective range.
>
>You can also explicitly add it to your query:
>
> <dtml-in expr="portal_catalog( ....
> , effective=ZopeTime()
> , effective_usage="range:min"
> )">
>
>Tres.
>--
>===============================================================
>Tres Seaver tseaver@zope.com
>Zope Corporation "Zope Dealers" http://www.zope.com
>