Browse Source

权限控制

pull/2758/head
ychao_1983 2 years ago
parent
commit
706a3499bd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/routes/routes.go

+ 1
- 1
routers/routes/routes.go View File

@@ -1034,7 +1034,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Get("", reqRepoDatasetReader, repo.DatasetIndex)
m.Get("/reference_datasets", reqRepoDatasetReader, repo.ReferenceDataset)
m.Get("/reference_datasets_data", reqRepoDatasetReader, repo.ReferenceDatasetData)
m.Delete("/reference_datasets/:id", repo.ReferenceDatasetDelete)
m.Delete("/reference_datasets/:id", reqRepoDatasetWriter, repo.ReferenceDatasetDelete)
m.Put("/:id/:action", reqRepoDatasetReader, repo.DatasetAction)
m.Get("/create", reqRepoDatasetWriter, repo.CreateDataset)
m.Post("/create", reqRepoDatasetWriter, bindIgnErr(auth.CreateDatasetForm{}), repo.CreateDatasetPost)


Loading…
Cancel
Save