diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go index 857fd1e233..a091c5c69d 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) |