Re: [Zope-dev] how can I prevent undo?

2003-10-27 Thread Jeffrey P Shell
Actually, this should be doable by removing access to the ``Undo changes`` permission. -- Jeffrey P Shell [EMAIL PROTECTED] On Oct 26, 2003, at 1:49 PM, Andreas Jung wrote: By removing the Undo tab or by removing Un doSupport from the baseclasses of your objects? -aj --On Sonntag, 26.

Re: [Zope-dev] how can I prevent undo?

2003-10-26 Thread robert
Thanks again, I now added def undoable_transactions(self, first_transaction=None, last_transaction=None, PrincipiaUndoBatchSize=None): return () to my class. This seems to work. Is this advisable or are there caveat to be

[Zope-dev] how can I prevent undo?

2003-10-26 Thread robert
Hi there, I have objects that are linked to an external database. When they are deleted, also the data in the external database is deleted. Now an undo is bad, because I then get an object with ab link to non existing data. I must therefore prevent undo. How can I do that? Thanks, Robert -- mit

Re: [Zope-dev] how can I prevent undo?

2003-10-26 Thread Andreas Jung
By removing the Undo tab or by removing Un doSupport from the baseclasses of your objects? -aj --On Sonntag, 26. Oktober 2003 20:38 Uhr +0100 robert [EMAIL PROTECTED] wrote: Hi there, I have objects that are linked to an external database. When they are deleted, also the data in the external