Re: [Zope] change document permissions
21 Mar
2001
21 Mar
'01
9:01 p.m.
Peter Breuer writes:
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()"> I can not tell you the details.... But I would look at the (DTML) source of the management interface that changes permissions ... and after (say) ten minutes, I would knew how to do it....
Dieter
9148
Age (days ago)
9148
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer