[Checkins] SVN: zope.security/trunk/ Fixed a regression introduced in 3.8.1: ``zope.location`` 's LocationProxy did not get a security checker if ``zope.security.decorator`` was not imported manually. Now ``zope.security.decorator`` is imported in ``zope.security.proxy`` without re-introducing the circular import fixed in 3.8.1.

Michael Howitz mh at gocept.com
Tue Oct 18 01:46:39 EST 2011


Am 24.09.2011 um 09:13 schrieb Wolfgang Schnerring:

> * Michael Howitz <mh-w5oghCfH6z/QT0dZR+AlfA at public.gmane.org> [2011-09-24 07:36]:
>> Log message for revision 122915:
>>  Fixed a regression introduced in 3.8.1: ``zope.location`` 's
>>  LocationProxy did not get a security checker if
>>  ``zope.security.decorator`` was not imported manually. Now
>>  ``zope.security.decorator`` is imported in ``zope.security.proxy``
>>  without re-introducing the circular import fixed in 3.8.1.
> 
> I'd really like if there was a test for this behaviour, i.e. that
> LocationProxy gets Security-annotated or whathaveyou, so it doesn't
> accidentally break again. Could that go into zope.security (since it
> depends on zope.location anyway)?

Done in r123101.


Yours sincerely,
-- 
Michael Howitz · mh at gocept.com · software developer
gocept gmbh & co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development



More information about the checkins mailing list