routing permissions

pull/269/head^2
hunterlong 2020-01-16 10:44:48 -08:00
parent e7e8852aee
commit 48f5a88253
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ func Router() *mux.Router {
// SERVICE Routes
r.Handle("/services", authenticated(servicesHandler, true)).Methods("GET")
r.Handle("/service/create", authenticated(createServiceHandler, true)).Methods("GET")
r.Handle("/service/{id}", readOnly(servicesViewHandler, true)).Methods("GET")
r.Handle("/service/{id}", http.HandlerFunc(servicesViewHandler)).Methods("GET")
r.Handle("/service/{id}/edit", authenticated(servicesViewHandler, true)).Methods("GET")
r.Handle("/service/{id}/delete_failures", authenticated(servicesDeleteFailuresHandler, true)).Methods("GET")

View File

@ -1 +1 @@
0.80.70
0.80.71