def info(id_role):
    group = TRoles.get_one(id_role)
    members = TRoles.get_user_in_group(id_role)
    lists = TRoles.get_user_lists(id_role)
    rights = TRoles.get_user_app_profils(id_role)
    return render_template("info_group.html",
                           group=group,
                           members=members,
                           lists=lists,
                           rights=rights,
                           pathU=config.URL_APPLICATION + '/group/update/')
def info(id_role):
    user = TRoles.get_one(id_role)
    organisme = Bib_Organismes.get_one(user['id_organisme'])
    groups = TRoles.get_user_groups(id_role)
    lists = TRoles.get_user_lists(id_role)
    rights = TRoles.get_user_app_profils(id_role)
    return render_template("info_user.html",
                           user=user,
                           organisme=organisme,
                           groups=groups,
                           lists=lists,
                           rights=rights,
                           pathU=config.URL_APPLICATION + '/user/update/')