[Zope-CMF] disabling redirect to login form globally

Calvin Hendryx-Parker calvin at sixfeetup.com
Tue Apr 20 13:01:15 EDT 2004


Hi,

I would use the modules/ZTUtils/LazyFilter and specify that things that 
the person can't "View" aren't shown to them in the listings of links.  
Looks at the index_html_utils.html file for an example of the usage.

Calvin
-- 
S i x   F e e t   U p  |  "Taking your site to new heights"
Silicon Valley: +1 (650) 401-8579  |  Midwest: +1 (317) 861-5948
Toll-Free: 1-866-SIX-FEET
mailto:calvin at sixfeetup.com
http://www.sixfeetup.com  |  Hosting from $9.95/month

On Apr 20, 2004, at 10:03 AM, Jean-Francois.Doyon at CCRS.NRCan.gc.ca 
wrote:

> Hello,
>
> I'd like my site to simply ignore content that anonymous users can't 
> access,
> instead of redirecting to a login form.
>
> This way, all things private simply silently don't get shown unless 
> you're
> authenticated.
>
> In some cases I use the catalog and specify review_state='published', 
> but I
> use a whole lot of objectItems() or objectValues() and these seem to
> redirect to the login form ...
>
> I've found a lot of material on making CMF sites for "members only", 
> but not
> the other way around :)
>
> Any (Quick?) help would be greatly appreciated ! I'm under pressure 
> here :P
>
> Thanks,
> J.F.
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>




More information about the Zope-CMF mailing list