updates on the milerappcontroller and routes allother thing
This commit is contained in:
@@ -18,6 +18,11 @@ import (
|
||||
// token on the server, not just be hidden in the UI.
|
||||
var staffOnlyFleetRoutes = []struct{ method, path string }{
|
||||
{http.MethodPost, "/api/v1/admin/tenants"},
|
||||
{http.MethodPost, "/api/v1/admin/pricing"},
|
||||
{http.MethodPut, "/api/v1/admin/pricing/1"},
|
||||
{http.MethodDelete, "/api/v1/admin/pricing/1"},
|
||||
{http.MethodPost, "/api/v1/admin/pricing/simulate"},
|
||||
{http.MethodPost, "/api/v1/admin/pricing/quote"},
|
||||
{http.MethodGet, "/api/v1/admin/users"},
|
||||
{http.MethodPost, "/api/v1/admin/users"},
|
||||
{http.MethodPut, "/api/v1/admin/users/1"},
|
||||
|
||||
Reference in New Issue
Block a user