Re: [Zope-DB] Automatic capture of user ids for auditing

2007-11-07 Thread Charlie Clark
Am 07.11.2007, 21:11 Uhr, schrieb Ken Winter [EMAIL PROTECTED]: Charlie, thanks for the encouraging response! Encouraging? Not sure if that's quite the right word! ;-) Just assuming you did have connections per user, how would you go about this? What you suggest (below) is definitely

Re: [Zope-DB] Automatic capture of user ids for auditing

2007-11-07 Thread Maciej Wisniowski
* The idea of extending the DA pass the current ZOPE user seems cleaner. For me, changing DA seems to add 'audit' fields seems nasty. What if you will have one specific table that doesn't need audit fields (this may happen when you're using authentication sources that rely on DB and in many

Re: [Zope-DB] Automatic capture of user ids for auditing

2007-11-06 Thread Charlie Clark
Am 06.11.2007, 20:12 Uhr, schrieb Ken Winter [EMAIL PROTECTED]: Hi Ken, an interesting problem although probably not unique! It seems like the components that might be able to pass this info to the database are the ZSQL methods and/or the database adapter (PsycopgDA, in this case). So,