4 Sep
2002
4 Sep
'02
2:36 a.m.
Julian Melville writes:
If the object which is calling the SecurityGetUser().getUserName() is accessible anonymously (i.e. user doesn't have to be authenticated to view) then Zope always appears to return 'Anonymous User' even if the user has logged in.
Dieter writes:
This should no longer be the case with modern Zope versions (above 2.5, at least).
In fact, it was never the case with access to anything protected by a permission, even a permission granted to "Anonymous".
Hmmm. Today I can't replicate this at all, yet I have a bunch of Python code from last week which I wrote to work around the problem... weird! Anyway, thanks Dieter. Julian.