[Zope] a question about role

Chris McDonough chrism@digicool.com
Tue, 07 Aug 2001 21:41:28 -0400


Hi Luby,

<dtml-var "adtmlmethod.document_src()" html_quote>

Luby Liao wrote:
> 
> I defined a role intended to allow my students to read the source code.
> After I log in with this role, called 'friend', I was able to read the
> PythonScript source, but not DTMLs which would be rendered.  Even
> though I can get around this by providing them with 'viewsource', I am
> wondering how I can make the management interface display the source
> of DTMLs, rather than the randered pages.  Any help is most highly
> appreciated.  cheers, Luby
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 
Chris McDonough                    Zope Corporation
http://www.zope.org             http://www.zope.com
"Killing hundreds of birds with thousands of stones"