Skip to content

Commit

Permalink
use application entity permission while listing pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankit-google committed Dec 5, 2024
1 parent 4f5fbc2 commit 3f1d389
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 3f1d389

Please sign in to comment.