[Zope] Preventing download of Document object
Simon Blandford
home@simonb.org.uk
Sat, 29 Sep 2001 13:28:44 +0000
marc lindahl wrote:
>
>>From: Simon Blandford <home@simonb.org.uk>
>>
>>I can use __ac_permissions__ to authorize what methods can/can't be
>>accessed in the Document class but how do I enable certain methods
>>whilst barring access to the file contents of the document itself?
>>
>
>Wouldn't that be the 'view' permission?
>
Err yes. But how do I create a Document object in python with this
permission disabled? If I don't set the view flag for the whole Document
Library then no one will be able to do anything with it
Regards,
Simon B.