Klaus Bremer wrote:
You can try to bypass the zope security mechanism by using
'removeSecurityProxy':
from zope.security.proxy import removeSecurityProxy
...
def doTransaction(self):
transaction = removeSecurityProxy(self.context.produceTransaction())
...
If possible it's better to use
You can try to bypass the zope security mechanism by using
'removeSecurityProxy':
from zope.security.proxy import removeSecurityProxy
...
def doTransaction(self):
transaction = removeSecurityProxy(self.context.produceTransaction())
...
hth
-klaus
Ursprüngliche Nachricht
am: Fri
I have a view object which calls it’s content object
to return another object. The view object does not have access to the
returned object, and I receive a forbidden attribute error.
***Content***
class Transaction(object):
transid=u’’
class TransactionFactory(Persist