ensure rollback functionality available to collaborators

This commit is contained in:
Brad Rydzewski 2020-08-19 17:11:31 -04:00 committed by GitHub
parent 2006bac45c
commit e609b197ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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