Skip to content

Commit

Permalink
Allow topic analysis in read only clusters (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
hadisfr committed Sep 21, 2024
1 parent b931a49 commit 77da344
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class ReadOnlyModeFilter implements WebFilter {
Pattern.compile("/api/clusters/(?<clusterName>[^/]++)");

private static final Set<Pattern> SAFE_ENDPOINTS = Set.of(
Pattern.compile("/api/clusters/[^/]+/topics/[^/]+/(smartfilters)$")
Pattern.compile("/api/clusters/[^/]+/topics/[^/]+/(smartfilters|analysis)$")
);

private final ClustersStorage clustersStorage;
Expand Down

0 comments on commit 77da344

Please sign in to comment.