Danny William Adair writes:
> I want to set the roles of a permission and turn acquisition of a permission
> (mapping) on and off programmatically. And of course I want to get a
> permission by its name. This looks definitely more complex than simply
> changing an object's property!
My standard response to questions like this:
You know, you can do this via the Management Interface.
Its code will tell you, how you can do it: the necessary
method names and their parameters.
After you know the names, you look for further documentation:
the Zope Help, maybe the new Zope Developer Guide,
The source for the updating of permissions is
The methods are defined in various Python files
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -