From cec38f2a8cf4f6721cc412d1d6cf3ea6f25b16c7 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 15 Aug 2015 00:42:43 +0800 Subject: able edit issue labels/milestone/assignee --- cmd/web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/web.go b/cmd/web.go index 857fd1e2..a091c5c6 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -457,9 +457,9 @@ func runWeb(ctx *cli.Context) { m.Post("", bindIgnErr(auth.CreateIssueForm{}), repo.UpdateIssue) m.Post("/label", repo.UpdateIssueLabel) m.Post("/milestone", repo.UpdateIssueMilestone) - m.Post("/assignee", repo.UpdateAssignee) + m.Post("/assignee", repo.UpdateIssueAssignee) m.Combo("/comments").Post(bindIgnErr(auth.CreateCommentForm{}), repo.NewComment) - }) + }, reqRepoAdmin) }) m.Group("/labels", func() { m.Post("/new", bindIgnErr(auth.CreateLabelForm{}), repo.NewLabel) -- cgit v1.2.3