This is an automated email from the ASF dual-hosted git repository.
kharekartik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new b9140715b0 Bigfix. Added missing paramName (#13060)
b9140715b0 is described below
commit b9140715b09cf0cc88114fcc2d0af3c48f02a16e
Author: Shounak kulkarni <[email protected]>
AuthorDate: Fri May 3 10:23:04 2024 +0500
Bigfix. Added missing paramName (#13060)
---
.../apache/pinot/controller/api/resources/PinotTaskRestletResource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java
b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java
index f240234b03..ffda1ce99c 100644
---
a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java
+++
b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java
@@ -553,7 +553,7 @@ public class PinotTaskRestletResource {
@GET
@Path("/tasks/scheduler/jobDetails")
- @Authorize(targetType = TargetType.TABLE, action =
Actions.Table.GET_SCHEDULER_JOB_DETAILS)
+ @Authorize(targetType = TargetType.TABLE, paramName = "tableName", action =
Actions.Table.GET_SCHEDULER_JOB_DETAILS)
@Produces(MediaType.APPLICATION_JSON)
@ApiOperation("Fetch job details for table tasks")
public Map<String, Object> getCronSchedulerJobDetails(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]