Merge remote-tracking branch 'origin/master'

This commit is contained in:
Brad Rydzewski 2020-08-25 16:07:47 -04:00
commit 9dff77d0c1

View file

@ -224,7 +224,7 @@ func (s Server) Handler() http.Handler {
).Post("/{number}/promote", builds.HandlePromote(s.Repos, s.Builds, s.Triggerer)) ).Post("/{number}/promote", builds.HandlePromote(s.Repos, s.Builds, s.Triggerer))
r.With( r.With(
acl.CheckAdminAccess(), acl.CheckWriteAccess(),
).Post("/{number}/rollback", builds.HandleRollback(s.Repos, s.Builds, s.Triggerer)) ).Post("/{number}/rollback", builds.HandleRollback(s.Repos, s.Builds, s.Triggerer))
r.With( r.With(