diff --git a/handler/api/api.go b/handler/api/api.go index fce84fed..86bd6f50 100644 --- a/handler/api/api.go +++ b/handler/api/api.go @@ -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(