def init(): """ Initialize the user admin system. """ init_users() init_projects() rights.init_page_access()
def init(): """ Initialize the user admin system. """ global db_connection rights.init_page_access() db_connection = None connect() # Not really needed, but perhaps useful?
def init(): """ Initialize the user admin system. """ global server, ldap_host import ldap3 rights.init_page_access() server = ldap3.Server(ldap_host)
def init(): """ Initialize the user admin system. """ rights.init_page_access()