20 Jun
2001
20 Jun
'01
7:23 p.m.
Sebal writes:
I 'd like to know how to change permissions in DTML : I have a method what create a file with a selected uploaded PDF file, and I want to give to Anonymous the View permission for the created file. You use "manage_changePermissions".
It is a difficult method with difficult parameters. I do not know a documentation for it... But looking at "AccessControl/dtml/access.dtml" (main use instance) and "AccessControl.Role.RoleManager.manage_changePermissions" (the source) you should be able to find out, how to do it. "RoleManager" may have other usefull methods for your task. Dieter