[Zope-CMF] Get list of published items that user has access to

davelehman@loewen.com davelehman@loewen.com
Mon, 22 Oct 2001 16:44:48 -0500


Sweet! This is exactly what I needed, and simple to boot! Thanks for
showing me which tree I should have been barking up!

--dave


On 10/22/2001 03:52:55 AM Tres Seaverwrote:

>In Zope 2.4, the catalog comes standard with an instance of a new
>kind of index, called PathIndex, motivated exactly by the use
>case you outline.  Taking advantage of it, your query would look
>something like this::
>
>  <dtml-in "portal_catalog.searchResults( meta_type='Document'
>                                        , sort_on='Date'
>                                        , sort_order='reverse'
>                                        , review_state='published'
>                                        , path=absolute_url
>                                        )" size="10">
>
>Tres.
>--
>===============================================================
>Tres Seaver                                tseaver@zope.com
>Zope Corporation      "Zope Dealers"       http://www.zope.com
>