Kaynağa Gözat

Merge branch 'develop' of gitadmin/tuoheng_gateway into release

pull/23/head
gitadmin 2 yıl önce
ebeveyn
işleme
27eb09666e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      src/main/java/com/tuoheng/gateway/config/WebSecurityConfig.java

+ 1
- 1
src/main/java/com/tuoheng/gateway/config/WebSecurityConfig.java Dosyayı Görüntüle

@@ -69,7 +69,7 @@ public class WebSecurityConfig {
.pathMatchers(OAUTH_PATH).hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DSP_MP, AuthorityConstant.SCOPE_TUOHNEG_DSP_WEB)
.pathMatchers("/pilot/miniprogram/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_PILOT_MP)
.pathMatchers("/pilot/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_PILOT_ADMIN)
.pathMatchers("/oidc/admin/**").authenticated()
//.pathMatchers("/oidc/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_OIDC_ADMIN)
//.pathMatchers(PERMIT_PATH).permitAll()
.anyExchange().permitAll()
.and()

Yükleniyor…
İptal
Kaydet