Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
9dff77d0c1
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue