[Zope3-checkins] [Checkins] SVN:z3c.layer.pagelet/branches/icemac_login_support/src/z3c/layer/pagelet/README.txtfixed test: when the unauthenticatedPrincipal is defined inZCML (see ftesting.zcml) 401 unauthorized is returned insteadof 403 forbidde
dev at projekt01.ch
Thu Mar 5 14:30:04 EST 2009
> Betreff: Re: AW: [Zope3-checkins] [Checkins]
> yer/pagelet/README.txtfixed test: when the
> unauthenticatedPrincipal is defined inZCML (see
> ftesting.zcml) 401 unauthorized is returned insteadof 403 forbidde
> On Thursday 05 March 2009, Roger Ineichen wrote:
> > Anyway,
> > anything described above has nothing to do with the test.
> > As far as I see, the forbidden.html page is a stub page raising
> > Unauthorized for any case. Why do you except a
> > 403 Forbidden?
> because the view is called forbidden.html. :-)
it must be very late when I addeed this in ftesting.zcml ;-)
raise Unauthorized('not authorized')
The test setup needs probably a review ;-)
END OF MESSAGE
> Stephan Richter
> Web Software Design, Development and Training Google me.
> "Zope Stephan Richter"
More information about the Zope3-Checkins