Esempio n. 1
0
def init():
    """
    Initialize the user admin system.
    """
    init_users()
    init_projects()
    rights.init_page_access()
Esempio n. 2
0
def init():
    """
    Initialize the user admin system.
    """
    global db_connection

    rights.init_page_access()

    db_connection = None
    connect()  # Not really needed, but perhaps useful?
Esempio n. 3
0
def init():
    """
    Initialize the user admin system.
    """
    global server, ldap_host
    import ldap3

    rights.init_page_access()

    server = ldap3.Server(ldap_host)
Esempio n. 4
0
def init():
    """
    Initialize the user admin system.
    """
    rights.init_page_access()