Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vitamui-pr-pastis
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dad
vitamui-pr-pastis
Commits
18e1cc55
Commit
18e1cc55
authored
4 years ago
by
Mounir Nayab
Committed by
Hicham Barhoumi
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[FENIX-39] check criteria's subqueries authorized keys
parent
26447150
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Feature/design/1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
commons/commons-api/src/main/java/fr/gouv/vitamui/commons/api/utils/CriteriaUtils.java
+1
-0
1 addition, 0 deletions
...java/fr/gouv/vitamui/commons/api/utils/CriteriaUtils.java
with
1 addition
and
0 deletions
commons/commons-api/src/main/java/fr/gouv/vitamui/commons/api/utils/CriteriaUtils.java
+
1
−
0
View file @
18e1cc55
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment