ensure rollback functionality available to collaborators
This commit is contained in:
parent
2006bac45c
commit
e609b197ed
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))
|
||||
|
||||
r.With(
|
||||
acl.CheckAdminAccess(),
|
||||
acl.CheckWriteAccess(),
|
||||
).Post("/{number}/rollback", builds.HandleRollback(s.Repos, s.Builds, s.Triggerer))
|
||||
|
||||
r.With(
|
||||
|
|
Loading…
Reference in a new issue