Skip to content

Commit

Permalink
feat: anonymous access to graphql interface
Browse files Browse the repository at this point in the history
BREAKING CHANGE: anonymous access to graphql interface
  • Loading branch information
Kai Volland committed May 13, 2024
1 parent 9a9d2fe commit 58d1c68
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ default void customHttpConfiguration(HttpSecurity http) throws Exception {
"/graphiql/**"
)
.permitAll()
// Enable anonymous read access to entity endpoints
// will be secured via permission evaluators
// Enable anonymous read access to entity endpoints (secured via permission evaluators)
.requestMatchers(
HttpMethod.GET,
"/applications",
Expand All @@ -61,6 +60,12 @@ default void customHttpConfiguration(HttpSecurity http) throws Exception {
"/imagefiles/*"
)
.permitAll()
// Enable anonymous access to graphql (secured via permission evaluators)
.requestMatchers(
HttpMethod.POST,
"/graphql"
)
.permitAll()
.requestMatchers(
"/actuator/**",
"/cache/**",
Expand Down

0 comments on commit 58d1c68

Please sign in to comment.