[Zope] change document permissions

Peter Breuer pbreuer@uni-goettingen.de
Wed, 21 Mar 2001 16:22:57 +0000


i want to generate a document and change permissions for that 
document without using the manage-screen.
Generating the document worked fine - it copies a default document to 
a new generated document-object:
<dtml-call 
"manage_addProduct['OFSP'].manage_addDTMLDocument('pre_article','Preliminary 
article',default_pre_article)">

now an existing role (f. e. Owner) should be able to get 'Change DTMS 
Documents' right for that document-object.
I assume
<dtml-call "pre_article.manage_permission()">
will do the job. But it requires parameters and I couldn't find 
documentation on how to use it.

Any idea?

Peter
-- 
---------------------------------------------------------------------
Peter Breuer, http://www.psych.uni-goettingen.de/home/breuer
Georg-Elias-Mueller-Inst. f. Psychologie, Gosslerstr. 14, 37073 
Goettingen, Germany
Tel: (+49)551-39-3588,  Fax: (+49)551-39-3662