Bläddra i källkod

更新

develop
xiaoying 6 månader sedan
förälder
incheckning
fda20f6035
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/main/java/com/tuoheng/gateway/config/WebSecurityConfig.java

+ 1
- 1
src/main/java/com/tuoheng/gateway/config/WebSecurityConfig.java Visa fil

@@ -98,7 +98,7 @@ public class WebSecurityConfig {
.pathMatchers("/spacetime/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_SPACETIME_ADMIN)
.pathMatchers("/digitaltwin/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DIGITALTWIN_ADMIN)
.pathMatchers("/dmp/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DMP_ADMIN)
.pathMatchers("/lacs/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_LACS_ADMIN)
//.pathMatchers("/lacs/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_LACS_ADMIN)
.pathMatchers("/airport/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_AIRPORT_ADMIN)
.pathMatchers("/oidc/admin/user/**").authenticated()
.pathMatchers("/api/inspection/**").authenticated()

Laddar…
Avbryt
Spara