[Zope] Programatically set permissions and local access?

Dieter Maurer dieter@handshake.de
Tue, 24 Jul 2001 21:29:27 +0200 (CEST)


Chris Bruce writes:
 > Is there a way programatically in DTML to set permissions of a Folder
 > and to assign local users and roles?  I looked through the Zope book
 > and online help, but did not see anything that talked about setting
 > local permissions on a Folder.  Any help would be great.
As the Zope management interface does it, you can
do it programmatically in DTML (the ZMI is implemented this way).

Look at the source: "AccessControl/dtml/access.dtml"


Dieter