diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 08b8b517b..9d83594fa 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -1193,7 +1193,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)