diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 41d34b937..c2b65e7dc 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -1184,7 +1184,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Get("", reqRepoCloudBrainReader, repo.NotebookShow) m.Get("/debug", cloudbrain.AdminOrJobCreaterRight, repo.NotebookDebug2) m.Post("/restart", cloudbrain.AdminOrJobCreaterRight, repo.NotebookRestart) - m.Post("/stop", cloudbrain.AdminOrJobCreaterRight, repo.NotebookStop) + m.Post("/stop", cloudbrain.AdminOrOwnerOrJobCreaterRight, repo.NotebookStop) m.Post("/del", cloudbrain.AdminOrOwnerOrJobCreaterRight, repo.NotebookDel) }) m.Get("/create", reqWechatBind, reqRepoCloudBrainWriter, repo.NotebookNew)