Re: [Zope-dev] LM and user objects

2000-06-07 Thread Dan L. Pierson

Bill Anderson writes:
  "Phillip J. Eby" wrote:
   
   At 04:03 PM 6/6/00 -0600, Bill Anderson wrote:
   
   I am using the deafult UserSource that comes with LM for the moment (one
   step at a time ;)
   
   LM or PTK?
  
  LM
  
  (Waiting for Dan's changes before trying _any_ LM with PTK ;)

I posted the patch about two weeks ago, have you tried it?  I just got 
back from vacation yesterday afternoon.  It looks like Steve Alexander 
tried it and it worked OK (once he tracked down a bug in his manual
patch application that took me about a day to find when I created the
patch -- missing imports whose only references are wrapped in a
try/except can be hard to find :-().

I plan to check this in later today, either directly or on a branch.
Any preferences?

___
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] LM and user objects

2000-06-07 Thread Dan L. Pierson

Chip Vanek writes:
  Hi,
  
  I also tried to get the patch working with 2.2CVS PTK CVS and had little luck.
  I also needed to manually apply the patch and worked through the errors until
  I got a security violation with the PTK.  I was no longer in any way able to
  access any of my test portals using the management interface.  I needed to
  back the patch out and get to plain 2.21a and PTK cvs to even get a ZODB
  portal working.

Interesting.  I've been avoiding 2.2 until the new security model gets 
some more bugs worked out.  Unfortunately, this means I'm not
surprised that you had problems...

  With all the problems with the standard PTK way of handling users access, I
  think that the best long term solution is to fully make the leap into the use
  of LoginManager and Racks as the standard mechenism for the PTK.  

We seem to have consensus on this.  Looks like Kevin's taken over the
lead on getting to the next step which is a coherent interface for PTK 
Membership to use to specify how to set up its LoginManager (e.g. how
do I create a Membership instance using a Postgressql based UserSource 
here, and another Membership instance using NT domain logins there).

  I also think
  that the standard authentication algorithm should support user login screens
  before basic auth for those folders that have a login_form in the aquisition
  path.

That would certainly help.

  So my vote is to check your patch into the main stream and harden
  it.

That's three in favor and none opposed so far.  I'll do it after
fighting a higher priority fire this afternoon.

___
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] LM and user objects

2000-06-06 Thread Bill Anderson

"Phillip J. Eby" wrote:
 
 At 04:03 PM 6/6/00 -0600, Bill Anderson wrote:
 
 I am using the deafult UserSource that comes with LM for the moment (one
 step at a time ;)
 
 LM or PTK?

LM

(Waiting for Dan's changes before trying _any_ LM with PTK ;)

 
 When I try to add through the manage interface, I get:
 Error Type: KeyError
 Error Value: _v_rack
 
 Eh?  What manage interface?  Nothing Ty or I put out has a manage interface
 to add a user.


The management interface, a sin click through Lm to UserSouorce, select
LM User object from the  select-box. Sorry, in ahurry I left off 'ment'
:/
 
 So I judge that this interface to be a no-workie.
 
 I guess so.  :)
 
 So I tried the form-method method, and I get:
 Error Type: NotFound
 Error Value: None
 
 And no help in the traceback. :(
 
 The what method?  I'm sorry, I'm completely lost.

I made a form that took an input for id , and called the newItem(id)
method.

  If you're using the
 PTK's PersistentUserSource, I don't know anything helpful to tell you,
 'cause I haven't had time to look at it yet (too busy on ZPatterns, not to
 mention non-Zope work).

Yeah, I hear you. I am finally getting the time to start doing some
heavy work with LM and PTK later this month, so I am trying to get
caught up, so to speak. figured since i knew more abot pTK than LM, that
LM would be a good thing to start with. :)

___
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 )