Re: [Zope3-dev] Important Heads Up: I'm making IResult private

2006-01-12 Thread Wichert Akkerman
Previously Chris McDonough wrote: On Dec 26, 2005, at 8:51 AM, Jim Fulton wrote: Even on a unix-based platform on which the file is removed before data are written to it? For this project, yes, given that the project owners believe their business model depends on no sensitive

[Zope3-dev] Re: [FrontPage] Wiki is now cleaned or at least Christian does not work on it anymore.

2006-01-12 Thread Christian Theune
Am Mittwoch, den 11.01.2006, 12:45 -0500 schrieb srichter: --removed: - div class=messageThe Zope 3 wiki is beeing tidied up. Please bear with any inconvenience while this happens./div Right. I got distracted and never went back. I still have to think about it and will get back to this. This

Re: [Zope3-dev] Re: .xpt extension for explicit xml processing

2006-01-12 Thread Fred Drake
On 1/12/06, Tonico Strasser [EMAIL PROTECTED] wrote: I found another situation where HTML mode helps the author to be backward (speak MSIE 6) compatible: In XML mode this snippet html xmlns=blah script/script /html ... . This would cause IE to display a blank page! The code that's been

[Zope3-dev] Mini-proposal: zope.app.authentication group events

2006-01-12 Thread Gary Poster
Problem: We want to perform actions when a user is added to a group, and possibly when a user is removed from a group. There is no hook point for this currently in the zope.app.authentication code. Solution: Fire events in the zope.app.authentication code when principals are added and

[Zope3-dev] Mini-proposal: new principal interface in zope.security for full closure of group membership

2006-01-12 Thread Gary Poster
Primary problem: We frequently want to know the full closure of group membership. The groups attribute of zope.security.interfaces.IGroupAwarePrincipal is a list of groups to which the principal directly belongs. The full closure--including the groups to which the principal's groups

Re: [Zope3-dev] Mini-proposal: zope.app.authentication group events

2006-01-12 Thread Gary Poster
On Jan 12, 2006, at 2:11 PM, Gary Poster wrote: def IPrincipalAddedToGroup(interface.Inteface): group = interface.Attribute('the group to which the principal was added') principal = interface.Attribute('the principal added') def IPrincipalRemovedFromGroup(interface.Inteface):

Re: [Zope3-dev] Twisted? We lost the username in the access.log

2006-01-12 Thread Jim Washington
Jim Fulton wrote: This is fairly serious, but I don't want it to delay 3.2.1 final. I suggest we try to fix this the week after the final release. I'd like to shoot for getting a 3.2.1 release out around the end of January. I'd like to see a beta release around the middle of the month. Any

[Zope3-dev] Re: full closure of group membership

2006-01-12 Thread Florent Guillaume
Gary Poster wrote: Primary problem: We frequently want to know the full closure of group membership. The groups attribute of zope.security.interfaces.IGroupAwarePrincipal is a list of groups to which the principal directly belongs. The full closure--including the groups to which the

[Zope3-dev] Re: Mini-proposal: zope.app.authentication group events

2006-01-12 Thread Florent Guillaume
Gary Poster wrote: On Jan 12, 2006, at 2:11 PM, Gary Poster wrote: def IPrincipalAddedToGroup(interface.Inteface): group = interface.Attribute('the group to which the principal was added') principal = interface.Attribute('the principal added') def

[Zope3-dev] Re: Mini-proposal: member-aware group interface

2006-01-12 Thread Florent Guillaume
Gary Poster wrote: Problem: We need to be able to iterate over the members of a group, given a group id. With the interfaces in zope.security, the only way to do this is to iterate over all principals known to the system, check their `groups` attribute, and if the group id is in the list

[Zope3-dev] Re: Mini-proposal: zope.app.authentication group events

2006-01-12 Thread Gary Poster
On Jan 12, 2006, at 7:18 PM, Florent Guillaume wrote: Gary Poster wrote: On Jan 12, 2006, at 2:11 PM, Gary Poster wrote: def IPrincipalAddedToGroup(interface.Inteface): group = interface.Attribute('the group to which the principal was added') principal = interface.Attribute('the

Re: [Zope3-dev] Mini-proposal: zope.app.authentication group events

2006-01-12 Thread Fred Drake
On 1/12/06, Gary Poster [EMAIL PROTECTED] wrote: Problem: We want to perform actions when a user is added to a group, and possibly when a user is removed from a group. There is no hook point for this currently in the zope.app.authentication code. We certainly have use-cases for code that

[Zope3-dev] Principal Comparison and/or References

2006-01-12 Thread Jeff Shell
I found an issue with zope.app.undo's ZODBUndoManager wherein it only could undo principal transactions if the principal in the request came from the global principal registry. I tried patching our copy by changing it to look up the principal of a transaction record from zapi.principals() (gets