Skip to content
Snippets Groups Projects
Commit 18e1cc55 authored by Mounir Nayab's avatar Mounir Nayab Committed by Hicham Barhoumi
Browse files

[FENIX-39] check criteria's subqueries authorized keys

parent 26447150
No related branches found
No related tags found
1 merge request!1Feature/design/1
......@@ -131,6 +131,7 @@ public final class CriteriaUtils {
throw new ForbiddenException("Criterion with key : " + criterion.getKey() + " is not allowed");
}
});
criteriaDto.getSubQueries().forEach(queryDto -> checkContainsAuthorizedKeys(queryDto, allowedKeys));
}
public static QueryDto fromJson(final String criteriaJson) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment