[Product-Developers] How to add permissions and create Zope SQL

Andreas Jung lists at zopyx.com
Wed May 13 18:00:56 UTC 2009

On 13.05.09 19:59, cvielma wrote:
> No no no. That's not what i meant.
> I mean, i have 2 problems:
> - One: i want to create a Zope Database Connection. I do in the __init__.py:
> def initialize(context):
> context.manage_addProduct['ZMySQLDA'].manage_addZMySQLConnection('goldmineConect','Conexion
> MySQL Goldmine', 'goldmine root pacm,Io09', 'YES')

This makes no sense. Such code belongs into Extensions/Install.py or within
setuphandlers.py as part of the Generic Setup profile of your plone product.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090513/ee872de4/attachment.vcf>

More information about the Product-Developers mailing list