Commit 212cdcf9 authored by Julien Muchembled's avatar Julien Muchembled

ZMySQLDA: use same permission as Connection to create deferred connections

parent 1472c7e9
......@@ -94,9 +94,15 @@ misc_=DA.misc_
def initialize(context):
permission = "Add Z MySQL Database Connections"
context.registerClass(
DA.Connection,
permission=permission,
constructors=(DA.manage_addZMySQLConnectionForm,
DA.manage_addZMySQLConnection),
)
context.registerClass(DA.DeferredConnection, visibility=None)
context.registerClass(
DA.DeferredConnection,
permission=permission,
visibility=None,
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment