Re: [Zope3-Users] Security between Context and View

2006-05-15 Thread Dominik Huber
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

Re: [Zope3-Users] Security between Context and View

2006-05-13 Thread Klaus Bremer
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

[Zope3-Users] Security between Context and View

2006-05-12 Thread David Johnson
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