[Zope] a problem with "skip_unauthorized"

Sylvain Boureliou sylvain.boureliou@msg-software.com
Mon, 6 Aug 2001 09:49:17 +0100


Hi !

I use zope 2.4.0 and i have a problem with  "skip_unauthorized".
I want to publish some documents, but obviously, anonymous users are not
allowed to view administrator's documents.
So i use "skip_unauthorized" in the "in" tag, but an error is raised :
You are not authorized to access xxx
Which means that "skip_unauthorized" does not work !. I dont understand.
Have you an idea ?

 <dtml-in "arch_actualites.objectValues('doc')" reverse  sort="Date"
skip_unauthorized>
  <dtml-var "publish('actutitle','actucontent',_['html_resume'],1)">
 </dtml-in>

Thanks.
Sylvain