mirror of
https://github.com/go-gitea/gitea
synced 2025-07-12 13:37:20 +00:00
Allow users with write permission to run actions (#32644)
--- I have a use case where I need a team to be able to run actions without admin access.
This commit is contained in:
@ -1406,7 +1406,7 @@ func registerRoutes(m *web.Router) {
|
||||
m.Get("", actions.List)
|
||||
m.Post("/disable", reqRepoAdmin, actions.DisableWorkflowFile)
|
||||
m.Post("/enable", reqRepoAdmin, actions.EnableWorkflowFile)
|
||||
m.Post("/run", reqRepoAdmin, actions.Run)
|
||||
m.Post("/run", reqRepoActionsWriter, actions.Run)
|
||||
|
||||
m.Group("/runs/{run}", func() {
|
||||
m.Combo("").
|
||||
|
Reference in New Issue
Block a user