[Zope] acl_users.getUserNames()

Espen Berge ebe@boxer.no
Mon, 27 Aug 2001 14:39:53 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C12F06.22AB1070
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi!

I'm sort of a newbie at this, so I would be most greatful for any help I can
get.
I have made a CMF-object in Zope, where I have added sume users in the
"acl_users"-folder. When I try to log in by the url (I.e.
http://zopehost:8080/the_CMF_Object/?__ac_name=some_username_in_the_acl_user
s_folder&__ac_password=some_password ), this works fine. It seems as if I am
logged in, but when I try to run a dtml-script:

<dtml-in "acl_users.getUserNames()">
      <dtml-var sequence-item>
</dtml-in>

I have to log in as an administrator to see the output of that dtml-script.

Why can't I see the output when I'm logged in the CMF-object?

Thanks,
Espen Berge


------=_NextPart_000_0006_01C12F06.22AB1070
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001>Hi!</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D840391912-27082001>I'm =
sort of a newbie=20
at this, so I would be most greatful for any help I can =
get.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D840391912-27082001>I have =
made a=20
CMF-object in Zope, where I have added sume users in the =
"acl_users"-folder.=20
When I try to log in by the url (I.e. <A=20
href=3D"http://zopehost:8080/the_CMF_Object/?__ac_name=3Dsome_username_in=
_the_acl_users_folder&amp;__ac_password=3Dsome_password">http://zopehost:=
8080/the_CMF_Object/?__ac_name=3Dsome_username_in_the_acl_users_folder&am=
p;__ac_password=3Dsome_password</A>&nbsp;),=20
this works fine. It seems as if I am logged in, but when I try to run a=20
dtml-script:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D840391912-27082001>&lt;dtml-in=20
"acl_users.getUserNames()"&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-var=20
sequence-item&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001>&lt;/dtml-in&gt;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D840391912-27082001>I have =
to log in as=20
an administrator to see the output of that =
dtml-script.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D840391912-27082001>Why =
can't I see the=20
output when I'm logged in the CMF-object?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D840391912-27082001>Espen=20
Berge</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D840391912-27082001></SPAN></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0006_01C12F06.22AB1070--