Re: [Zope] AUTHENTICATED_USER

2011-05-13 Thread richard
Hmmm, I just stumbled upon some deprecation warnings in a google for authenticated_user and that security getUser...equivalent should be used instead. Something like this - http://www.mail-archive.com/zope@zope.org/msg21432.html Quoting Tres Seaver : > -BEGIN PGP SIGNED MESSAGE- > Ha

Re: [Zope] AUTHENTICATED_USER

2011-05-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/13/2011 03:36 PM, Richard Harley wrote: > Please could someone tell me why AUTHENTICATED_USER was deprecated in > favour of the python security module? A quick google says "because it > can be replaced"..but this isn't really a good in depth ex

[Zope] AUTHENTICATED_USER

2011-05-13 Thread Richard Harley
Please could someone tell me why AUTHENTICATED_USER was deprecated in favour of the python security module? A quick google says "because it can be replaced"..but this isn't really a good in depth explanation? If a request was manipulated to include another AUTHENTICATED_USER, wouldn't Zope just

Re: [Zope] AUTHENTICATED_USER (or something) making me crazy

2000-10-07 Thread knight
Dennis, You might benefit from reading some of the general HOWTO's at http://www.zope.org. Consider searching for "AUTHENTICATED_USER" or "user manager". A quick answer to your problem though: AUTHENTICATED_USER is actually a class object (meaning it contains variables of it's own, as well as f

Re: [Zope] AUTHENTICATED_USER (or something) making me crazy

2000-10-07 Thread Phil Harris
s such. btw, if you haven't yet got the Zope Quick Reference, get it now! you still here, what you waiting for! - go get it now! 8¬) http://zdp.zope.org hth Phil - Original Message - From: "Dennis Nichols" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sat

Re: [Zope] AUTHENTICATED_USER (or something) making me crazy

2000-10-07 Thread Andy McKay
October 07, 2000 3:40 PM Subject: [Zope] AUTHENTICATED_USER (or something) making me crazy > If I inspect REQUEST by inserting a in my dtml I can see > that AUTHENTICATED_USER is set to Anonymous User. Yet when I insert the > following code, it never displays Guest. It takes the els

[Zope] AUTHENTICATED_USER (or something) making me crazy

2000-10-07 Thread Dennis Nichols
If I inspect REQUEST by inserting a in my dtml I can see that AUTHENTICATED_USER is set to Anonymous User. Yet when I insert the following code, it never displays Guest. It takes the else branch and then, perversely, displays Anonymous User. Please point out my stupid mistake. Gues