On Thursday 27 July à 20:10, Dieter Maurer wrote:
Peter Bengtsson wrote at 2006-7-27 10:51 +0100:
Why am I getting this on my zope 2.8.5??
2006-07-27 10:34:07 ERROR Zope.SiteErrorLog http://localhost:8080/test/Real/MoreStatistics/index_html Traceback (most recent call last): File "/usr/HOME/peterbe/zope/zope285/lib/python/ZPublisher/Publish.py", line 104, in publish object=request.traverse(path, validated_hook=validated_hook) File "/usr/HOME/peterbe/zope/zope285/lib/python/ZPublisher/BaseRequest.py", line 461, in traverse response.unauthorized() File "/usr/HOME/peterbe/zope/zope285/lib/python/ZPublisher/HTTPResponse.py", line 685, in unauthorized raise Unauthorized, m Unauthorized: <strong>You are not authorized to access this resource.</strong><p> Username and password are not correct.
This "Unauthorized" is not generated by Zope security mechanism but by the ZPublisher.
Apparently, "VerboseSecurity" does not hook in the ZPublisher.
VerboseSecurity is included in zope 2.8.x and it seems like having the zope 2.7 VerboseSecurity product into a zope 2.8 instance break the security machinery. -- Sylvain Thénault LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Python et calcul scientifique: http://www.logilab.fr/science