On Saturday 25 August 2007 13:22, Yuan HOng wrote: > I have seen code doing verification in the view class like this: > > if (not IUnauthenticatedPrincipal.providedBy(request.principal): > ... > > But surely there will be a much simpler way to do this?
I think the above is very simple. All logic should live in Python code. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3firstname.lastname@example.org http://mail.zope.org/mailman/listinfo/zope3-users