Skip to content

Commit

Permalink
Merge pull request cdapio#15753 from cdapio/CDAP-20931
Browse files Browse the repository at this point in the history
[CDAP-20931] use application entity permission while listing pipelines
  • Loading branch information
itsankit-google authored Dec 5, 2024
2 parents 4f5fbc2 + 3f1d389 commit d620d1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public boolean scanApplications(ScanApplicationsRequest request,
if (namespace == null) {
throw new IllegalStateException("Application scan request without namespace");
}
accessEnforcer.enforceOnParent(EntityType.DATASET, namespace,
accessEnforcer.enforceOnParent(EntityType.APPLICATION, namespace,
authenticationContext.getPrincipal(), StandardPermission.LIST);

try (
Expand Down

0 comments on commit d620d1c

Please sign in to comment.