[Zope-CMF] CatalogTool

Jens Vagelpohl jens at dataflake.org
Mon Jan 22 06:36:04 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 22 Jan 2007, at 12:22, Miles Waller wrote:
>  - why does the catalog not attempt to use a DateRange index for  
> the effective/expires queries, if this index is available and no  
> dates are specified?

Why should it? What about site admins who want to see everything,  
regardless of expiration?

Explicit is better than implicit. If you want the catalog to use the  
expires/effective indices you should tell it to do so in your queries.


>  - is the 'access future content' permission used to control  
> anything?  I thought it was used to deal with certain effective/ 
> expires ranges, but from grepping it doesn't seem to ever be used!

It may not be used in the CMF, but before taking it out all CMF  
"customers" would have to be notified and ensure they don't use it,  
either. Not sure if the effort is worthwhile ;)

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFtKGkRAx5nvEhZLIRArAKAKCOCiMl96rqm06ugtHLbUgq72jSPwCgki0p
b2f9DyD+WNUms4gIi7Iz4Jg=
=COKt
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list