[zope2-tracker] [Bug 580912] Re: Storing method instance of user written class in list confuses Zope access control system.

Tony Middleton launchpad at perusal.info
Sun May 16 06:45:15 EDT 2010


I'm afraid neither of the suggestions above made any difference and I'm
also slightly confused about the reply.

Firstly,  I understand the above to say that I have not correctly given
access to the method and the fact that it worked in 2.10 was a fault
that has now been fixed.  However,  that would imply that none of my
three cases would work whereas the only failure on 2.12 is when I store
the instance in a list.

Also,  I had read the page referred to and although the description of
allow_class is minimal my understanding was that it is a shorthand that
gives full access as it says "the utility function “allow_class” and
“allow_module” have been created to help you declare the entire contents
of a class or module as public".

-- 
Storing method instance of user written class in list confuses Zope access control system.
https://bugs.launchpad.net/bugs/580912
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list