Skip to content

Commit

Permalink
Restrict getRoutingRules and getUIConfiguration APIs to ADMIN
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhar10 committed Feb 10, 2025
1 parent b835337 commit fd5d210
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public Response readExactMatchSourceSelector()
}

@GET
@RolesAllowed("USER")
@RolesAllowed("ADMIN")
@Produces(MediaType.APPLICATION_JSON)
@Path("/getRoutingRules")
public Response getRoutingRules()
Expand All @@ -463,7 +463,7 @@ public Response updateRoutingRules(RoutingRule routingRule)
}

@GET
@RolesAllowed("USER")
@RolesAllowed("ADMIN")
@Produces(MediaType.APPLICATION_JSON)
@Path("/getUIConfiguration")
public Response getUIConfiguration()
Expand Down

0 comments on commit fd5d210

Please sign in to comment.