SV: [Zope-dev] manage_tabs
Magnus Heino (Rivermen)
magnus.heino@rivermen.se
Fri, 4 May 2001 14:51:55 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0D498.FF5C4B10
Content-Type: text/plain;
charset="iso-8859-1"
Ok, I get it. Sorry :-P
security.declareProtected('View management screens', 'manage')
manage_editForm = DTMLFile('dtml/editForm', globals())
security.declareProtected('View management screens', 'manage')
manage_main = manage_editForm
And it works...
Maybe I shold do some more reading about it on
http://www.zope.org/Documentation/ZDG
<http://www.zope.org/Documentation/ZDG>
Thanks!
/Magnus
Could this be an "Internet Explorer failing to pass the AUTH info" problem?
It sounds as though you are getting access to the edit tab via Anonymous
permissions (Have you restricted access to the manage_main method using the
__permissions__ settings)? In that case, Zope will not show you the other
tabs because the Anonymous User is not allow to see them.
------_=_NextPart_001_01C0D498.FF5C4B10
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Zope-dev] manage_tabs</TITLE>
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=079584712-04052001><FONT face=Arial color=#0000ff size=2>Ok, I
get it. Sorry :-P</FONT></SPAN></DIV>
<DIV><SPAN class=079584712-04052001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=079584712-04052001><FONT face=Arial color=#0000ff
size=2>security.declareProtected('View management screens',
'manage')<BR>manage_editForm = DTMLFile('dtml/editForm',
globals())<BR> <BR>security.declareProtected('View management screens',
'manage')<BR>manage_main = manage_editForm</FONT></SPAN></DIV>
<DIV><SPAN class=079584712-04052001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=079584712-04052001><FONT face=Arial color=#0000ff size=2>And it
works...</FONT></SPAN></DIV>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<DIV><FONT face=Tahoma><SPAN class=079584712-04052001><FONT face=Arial
color=#0000ff size=2>Maybe I shold do some more reading about it on <A
href="http://www.zope.org/Documentation/ZDG">http://www.zope.org/Documentation/ZDG</A></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Tahoma><SPAN class=079584712-04052001><FONT face=Arial
color=#0000ff size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma><SPAN class=079584712-04052001><FONT face=Arial
color=#0000ff size=2>Thanks!</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Tahoma><SPAN class=079584712-04052001><FONT face=Arial
color=#0000ff size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma><SPAN class=079584712-04052001><FONT face=Arial
color=#0000ff size=2>/Magnus</FONT></SPAN></DIV>
<DIV><FONT size=2><FONT face=Arial color=#0000ff></FONT><FONT face=Arial
color=#0000ff></FONT><BR></FONT></DIV></FONT>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<P><FONT size=2>Could this be an "Internet Explorer failing to pass the AUTH
info" problem?</FONT> </P>
<P><FONT size=2>It sounds as though you are getting access to the edit tab via
Anonymous permissions (Have you restricted access to the manage_main method
using the __permissions__ settings)? In that case, Zope will not show you the
other tabs because the Anonymous User is not allow to see them.</FONT></P>
<P><FONT face=Arial color=#0000ff
size=2></FONT> </P></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C0D498.FF5C4B10--