[Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-04 Thread Dmitry Vasiliev
Roger Ineichen wrote: Hi Dimitry Roger Ineichen wrote: Log message for revision 39855: [SKIP] +_passwordManagerName = "Plain Text" + def __init__(self, login, password, title, description=u'', passwordManagerName="Plain Text"): self._login = login This is unn

[Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-05 Thread Dmitry Vasiliev
Benji York wrote: Roger Ineichen wrote: > Is there a way to evolve during the bootstrap process? Or is the > manuel process via the ZMI the right way? If min generation is set properly shouldn't this happen automatically? Yes, but is it right way to set min generation == max generation? >

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-05 Thread Stephan Richter
On Saturday 05 November 2005 08:17, Dmitry Vasiliev wrote: > > I think a generation is too "heavy" a fix where a simple class attribute > > will suffice.  I like Roger's fix and propose we remove the generation. > > No, there is also self.password attribute changed to a property which is > not so e

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-05 Thread Benji York
Stephan Richter wrote: On Saturday 05 November 2005 08:17, Dmitry Vasiliev wrote: I think a generation is too "heavy" a fix where a simple class attribute will suffice. I like Roger's fix and propose we remove the generation. No, there is also self.password attribute changed to a property whi

RE: [Zope3-dev] New database generation for Zope 3.2 (Was:[Zope3-checkins] Added BBB for older instances)

2005-11-05 Thread Roger Ineichen
Hi Dimitry , Benji and Stephan [...] > Stephan Richter wrote: > > On Saturday 05 November 2005 08:17, Dmitry Vasiliev wrote: > >>>I think a generation is too "heavy" a fix where a simple > class attribute > >>>will suffice. I like Roger's fix and propose we remove > the generation. > >> > >>No

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-07 Thread Dmitry Vasiliev
Stephan Richter wrote: On Saturday 05 November 2005 08:17, Dmitry Vasiliev wrote: I think a generation is too "heavy" a fix where a simple class attribute will suffice. I like Roger's fix and propose we remove the generation. No, there is also self.password attribute changed to a property wh

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-07 Thread Stephan Richter
On Monday 07 November 2005 07:16, Dmitry Vasiliev wrote: > BTW, another one idea: We can set a password manager for a principal > folder, not for a individual principal, so all principals in the folder > will be use the only one password manager. +1 Regards, Stephan -- Stephan Richter CBU Physic

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-07 Thread Benji York
Dmitry Vasiliev wrote: BTW, another one idea: We can set a password manager for a principal folder, not for a individual principal, so all principals in the folder will be use the only one password manager. I like that even better. +1 -- Benji York Senior Software Engineer Zope Corporation ___

Re: [Zope3-dev] New database generation for Zope 3.2 (Was:[Zope3-checkins] Added BBB for older instances)

2005-11-07 Thread Dmitry Vasiliev
Roger Ineichen wrote: Hi Dimitry , Benji and Stephan [SKIP] In this case a generation is appropriate. Agreed. I didn't know about the other changes. The only thing I would propose would be that the generation be automatically run. I agree too. I think automatic generation is a good ide

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-07 Thread Dmitry Vasiliev
Benji York wrote: Dmitry Vasiliev wrote: BTW, another one idea: We can set a password manager for a principal folder, not for a individual principal, so all principals in the folder will be use the only one password manager. I like that even better. +1 Ok, so I'll redo the implementation

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-07 Thread Dmitry Vasiliev
Dmitry Vasiliev wrote: Benji York wrote: Dmitry Vasiliev wrote: BTW, another one idea: We can set a password manager for a principal folder, not for a individual principal, so all principals in the folder will be use the only one password manager. I like that even better. +1 Ok, so I'

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-07 Thread Benji York
Dmitry Vasiliev wrote: Dmitry Vasiliev wrote: Oops, we can't get rid of the generation since we need to encode the password anyway... :-/ Even if we default to plain text? -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing

Re: [Zope3-dev] New database generation for Zope 3.2 (Was: [Zope3-checkins] Added BBB for older instances)

2005-11-07 Thread Dmitry Vasiliev
Benji York wrote: Dmitry Vasiliev wrote: Dmitry Vasiliev wrote: Oops, we can't get rid of the generation since we need to encode the password anyway... :-/ Even if we default to plain text? Yes. For example if you change the password of a principal it needs to be properly encoded before