소스 검색

fix: 修改了认证

xuxiaopang 2 년 전
부모
커밋
35817916e6
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/src/main/java/cn/seecoder/web/infrastructure/config/WebSecurityConfig.java

+ 1 - 1
web/src/main/java/cn/seecoder/web/infrastructure/config/WebSecurityConfig.java

@@ -125,7 +125,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
                 .antMatchers(GET, "/stages").authenticated()
                 // Project Controller
                 .antMatchers(GET, "/project/listByUser").authenticated()
-                .antMatchers(GET, "/project/members").access("@authTools.checkProjOwnershipParam(request)")
+                .antMatchers(GET, "/project/members").authenticated()
                 .antMatchers(GET, "/project/{projectId}").authenticated()
                 .antMatchers(POST, "/project/create").authenticated()
                 .antMatchers(POST, "/project/members").authenticated()