[Zope] transfer zope security-properties

Dieter Maurer dieter at handshake.de
Fri Jun 8 14:08:13 EDT 2007


Einar Næss Jensen wrote at 2007-6-4 19:53 +0200:
> ...
>How can I copy the associated securityinformation about a zclass
>instance into my new diskbased instance? Roles and permissions.

In a product, permissions are automatically created by
using them (to protect a method).

What roles do you have for ZClass'es. I am not aware of ZClass specific
roles....

Roles are implemented by "AccessControl.Role.RoleManager".
Look there what methods may help you to do what you want.



-- 
Dieter


More information about the Zope mailing list