def METHOD_NAME(cursor, default_owner_id):
    current_resources = Redis.hgetall("resources")
    cursor.execute("""  SELECT
                            GenoFreeze.Id, GenoFreeze.ShortName, GenoFreeze.confidentiality
                        FROM
                            GenoFreeze""")
    resource_results = cursor.fetchall()
    for i, resource in enumerate(resource_results):
        resource_ob = {}
        resource_ob['name'] = resource[1]
        if resource[1] == "HET3-ITPGeno":
            resource_ob['owner_id'] = "c5ce8c56-78a6-474f-bcaf-7129d97f56ae"
        else:
            resource_ob['owner_id'] = default_owner_id
        resource_ob['data'] = {"dataset": str(resource[0])}
        resource_ob['type'] = "dataset-geno"
        if resource[2] < 1:
            resource_ob['default_mask'] = {"data": "view",
                                           "metadata": "view",
                                           "admin": "not-admin"}
        else:
            resource_ob['default_mask'] = {"data": "no-access",
                                           "metadata": "no-access",
                                           "admin": "not-admin"}
        resource_ob['group_masks'] = {}
        add_resource(resource_ob, update=False)