[Zope-dev] question: which user was the last to modify an object?

2001-04-25 Thread Juan David Ibáñez Palomar



Hi all,

The undo form shows interesting info about transactions, for example their
modification times. It's easy to know the last time an object was modified
with bobobase_modification_time.

But, is there an easy way to get the name of the user that made the last
modification of an object?


thanks,
jdavid

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] question: which user was the last to modify an object?

2001-04-25 Thread Andy McKay

You might find the History mapping easier. Heres an example from way back:

dtml-if manage_change_history
  dtml-in manage_change_history mapping
dtml-if sequence-start
  dtml-var user_name
/dtml-if
  /dtml-in
/dtml-if

Would be easier in Python...

Cheers.
--
  Andy McKay.


- Original Message -
From: Juan David Ibáñez Palomar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 9:42 AM
Subject: [Zope-dev] question: which user was the last to modify an object?




 Hi all,

 The undo form shows interesting info about transactions, for example their
 modification times. It's easy to know the last time an object was modified
 with bobobase_modification_time.

 But, is there an easy way to get the name of the user that made the last
 modification of an object?


 thanks,
 jdavid

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )