modify perm of read tasks

This commit is contained in:
Ulric Qin 2022-02-26 12:00:08 +08:00
parent 8664c3df37
commit cddc99981d
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ func configRoute(r *gin.Engine, version string) {
pages.GET("/busi-group/:id/tasks", jwtAuth(), user(), perm("/job-tasks"), bgro(), taskGets)
pages.POST("/busi-group/:id/tasks", jwtAuth(), user(), perm("/job-tasks/add"), bgrw(), taskAdd)
pages.GET("/busi-group/:id/task/*url", jwtAuth(), user(), perm("/job-tasks"), bgro(), taskProxy)
pages.GET("/busi-group/:id/task/*url", jwtAuth(), user(), perm("/job-tasks"), taskProxy)
pages.PUT("/busi-group/:id/task/*url", jwtAuth(), user(), perm("/job-tasks/put"), bgrw(), taskProxy)
}