Skip to content

Commit

Permalink
Merge branch 'release/v0.0.112'
Browse files Browse the repository at this point in the history
* release/v0.0.112:
  chore: permission for icy distribute api
  • Loading branch information
namnhce committed Jun 2, 2023
2 parents bed50de + 8b966bc commit 0686401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/routes/v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func loadV1Routes(r *gin.Engine, h *handler.Handler, repo store.DBRepo, s *store
projectGroup.PUT("/:id/work-units/:workUnitID", amw.WithAuth, pmw.WithPerm(model.PermissionProjectWorkUnitsEdit), h.Project.UpdateWorkUnit)
projectGroup.PUT("/:id/work-units/:workUnitID/archive", amw.WithAuth, pmw.WithPerm(model.PermissionProjectWorkUnitsEdit), h.Project.ArchiveWorkUnit)
projectGroup.PUT("/:id/work-units/:workUnitID/unarchive", amw.WithAuth, pmw.WithPerm(model.PermissionProjectWorkUnitsEdit), h.Project.UnarchiveWorkUnit)
projectGroup.GET("/icy-distribution/weekly", amw.WithAuth, pmw.WithPerm(model.PermissionProjectWorkUnitsEdit), h.Project.IcyWeeklyDistribution)
projectGroup.GET("/icy-distribution/weekly", amw.WithAuth, pmw.WithPerm(model.PermissionIcyDistributionRead), h.Project.IcyWeeklyDistribution)
}

clientGroup := v1.Group("/clients")
Expand Down

0 comments on commit 0686401

Please sign in to comment.