__init__.py 510 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
"""LDAP Server Connection Package """

import ZLDAP, Entry
__version__ = ZLDAP.__version__


# use the propert product registration
def initialize(context):
    context.registerClass(
        ZLDAP.ZLDAPConnection,
        constructors = (ZLDAP.manage_addZLDAPConnectionForm,
                        ZLDAP.manage_addZLDAPConnection),
        icon = 'LDAP_conn_icon.gif',
        permissions = ('Manage Entry information',
                       'Create New Entry Objects',
                       ),
        )