hello .. is there a possibilty to use RESPONSE.redirect using frames and targets? ... thnx
This should be easy, but has me a little confused. to get a an AUTHENTICATED_USER permission I use... <dtml-if "AUTHENTICATED_USER.has_permission('Permission Name', '')"> Do something </dtml-if> But how do I test to see if ANONYMOUS has a permission? Thanks, J
On Wed, 28 Jun 2000, J. Atwood wrote:
But how do I test to see if ANONYMOUS has a permission?
Anonymous is AUTHENTICATED_USER, too :) Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
so <dtml-if "AUTHENTICATED_USER.has_permission('View', '')"> Do something </dtml-if> Should work, but does not. J
From: Oleg Broytmann <phd@phd.russ.ru> Reply-To: phd@phd.russ.ru Date: Wed, 28 Jun 2000 14:36:36 +0000 (GMT) To: "J. Atwood" <jatwood@bwanazulia.com> Cc: zope@zope.org Subject: Re: [Zope] Getting anonymous permissions
On Wed, 28 Jun 2000, J. Atwood wrote:
But how do I test to see if ANONYMOUS has a permission?
Anonymous is AUTHENTICATED_USER, too :)
Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
On Wed, 28 Jun 2000, J. Atwood wrote:
<dtml-if "AUTHENTICATED_USER.has_permission('View', '')"> Do something </dtml-if>
Here: http://sun.med.ru/pcgi/Random/ I test visitors this way: <!--#if "AUTHENTICATED_USER.getUserName() == 'Anonymous User'"--> Read-Only ADmin Login: <B>road</B>, password: <B>map</B> <!--#/if --> Never tried to play with permissions... Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (3)
-
J. Atwood -
Oleg Broytmann -
urs.beyeler