Re: [Zope] transfer zope security-properties
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 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] transfer zope security-properties
I'm on the run for transfering my poorly designed zclasses into real diskbased ones. I've gotten pretty far in only a couple of weeks thanks to this mailinglist and the irc channel on freenet. Thanks everyone! Today I have this question: How can I copy the associated securityinformation about a zclass instance into my new diskbased instance? Roles and permissions. I am using localRoles heavily with my zclasses, and would like this information to be retained also. Any pointers or hints of any kind are very welcome Thanks! Best regards EInar Næss Jensen -- -- Einar Næss Jensen http://einarblog.homemade.no/einarblog http://www.homemade.no tlf: +47 90990249 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )