Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(server): allow members to create agents (#1013)
Bohan Jianga3c6f0766885
diff --git a/server/cmd/server/router.go b/server/cmd/server/router.goindex 48e41baa5b..b0ac83ba04 100644--- a/server/cmd/server/router.go+++ b/server/cmd/server/router.go@@ -263,7 +263,7 @@ func NewRouter(pool *pgxpool.Pool, hub *realtime.Hub, bus *events.Bus) chi.Route// Agentsr.Route("/api/agents", func(r chi.Router) {r.Get("/", h.ListAgents)- r.With(middleware.RequireWorkspaceRole(queries, "owner", "admin")).Post("/", h.CreateAgent)+ r.Post("/", h.CreateAgent)r.Route("/{id}", func(r chi.Router) {r.Get("/", h.GetAgent)r.Put("/", h.UpdateAgent)