Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
07642dd8e1
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ func (s Server) Handler() http.Handler {
|
|||
).Delete("/{number}", builds.HandleCancel(s.Users, s.Repos, s.Builds, s.Stages, s.Steps, s.Status, s.Scheduler, s.Webhook))
|
||||
|
||||
r.With(
|
||||
acl.CheckAdminAccess(),
|
||||
acl.CheckWriteAccess(),
|
||||
).Post("/{number}/promote", builds.HandlePromote(s.Repos, s.Builds, s.Triggerer))
|
||||
|
||||
// r.With(
|
||||
|
|
Loading…
Reference in a new issue