Skip to content

Commit

Permalink
feat(key): enable edit access for gateway (#6480)
Browse files Browse the repository at this point in the history
  • Loading branch information
grandwizard28 authored Nov 19, 2024
1 parent 57c2326 commit c01060c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/query-service/app/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (ah *APIHandler) RegisterRoutes(router *mux.Router, am *baseapp.AuthMiddlew
router.HandleFunc("/api/v4/query_range", am.ViewAccess(ah.queryRangeV4)).Methods(http.MethodPost)

// Gateway
router.PathPrefix(gateway.RoutePrefix).HandlerFunc(am.AdminAccess(ah.ServeGatewayHTTP))
router.PathPrefix(gateway.RoutePrefix).HandlerFunc(am.EditAccess(ah.ServeGatewayHTTP))

ah.APIHandler.RegisterRoutes(router, am)

Expand Down

0 comments on commit c01060c

Please sign in to comment.