예제 #1
0
def init():
    """
    Initialize the user admin system.
    """
    init_users()
    init_projects()
    rights.init_page_access()
예제 #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?
예제 #3
0
def init():
    """
    Initialize the user admin system.
    """
    global server, ldap_host
    import ldap3

    rights.init_page_access()

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