Re: [Zope-dev] Zope-2.3a2 and Loginmanager

2001-01-12 Thread Bill Anderson

Chris McDonough wrote:

 "super" still exists.  It's aliased to the emergency user.  There's a 
 comment in User to the effect that the use of super is deprecated, and 
 that emergency_user should be used instead.


Hmmm, I changed super to UnrestrictedUser ... see any problems with that 
do you?


 I don't believe the reading of the access file is a bug (it's there to 
 provide backwards-compatibility).

Backwards compat for reading it is fine, bailing because there is no 
access file would not be though. I experienced the latter.

 
 What is the actual problem with LoginManager you're experiencing?  How 
 does it fail?

Well, what _I_ saw was that it would not import if access file was not 
found, nor if the Super import referenced above was still there.

Bill



___
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] Zope-2.3a2 and Loginmanager

2001-01-11 Thread Chris McDonough



"super" still exists. It's aliased to the emergency 
user. There's a comment in User to the effect that the use of super is 
deprecated, and that emergency_user should be used instead.

I don't believe the reading of the access file is a bug (it's 
there to provide backwards-compatibility).

What is the actual problem with LoginManager you're 
experiencing? How does it fail?



  - Original Message - 
  From: 
  Ulrich Eck 
  To: ZOPE-DEV Mailingliste 
  Sent: Thursday, January 11, 2001 9:38 
  AM
  Subject: [Zope-dev] Zope-2.3a2 and 
  Loginmanager
  
  hi out there,
  
  i just setup a box with Zope-2.3a2 and 
  Loginmanager.
  
  didn't work because of Changes in 
  AccessControl.User:
  
  - Super doesn't exist anymore (is emergency_user 
  the replacement ??)
  
  - Zope-2.3a2 installs itself with a file 
  "inituser" as access-file, 
  AccessControl.User.py refers to "access" 
  in
  line 372: info = 
  readUserAccessFile('access') --- is this a bug ???
  
  - it seems, that there is now some work done in 
  the User.py which
  was "hacked" in LoginManager.py (line 
  130-150)
  
  anyone any ideas about that ???
  
  would like to test my work on Zope-2.3a2 but need 
  the Loginmanger
  
  thanks in advance
  
  jac-e


Re: [Zope-dev] Zope-2.3a2 and Loginmanager

2001-01-11 Thread Steve Alexander

Ulrich Eck wrote:

 hi out there,
  
 i just setup a box with Zope-2.3a2 and Loginmanager.
 
 didn't work because of Changes  in AccessControl.User:
 
 - Super doesn't exist anymore (is emergency_user the replacement ??)
 
 - Zope-2.3a2 installs itself with a file "inituser" as access-file,
 
  AccessControl.User.py refers to "access" in
 
 line 372: info = readUserAccessFile('access')  --- is this a bug ???

See the message Bill Anderson sent to this list last month:

http://lists.zope.org/pipermail/zope-dev/2000-December/008334.html


Also, in future, please do not send html mail to this mailing list; send 
it in plain text.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


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