ソースを参照

fix: 修改了认证

xuxiaopang 2 年 前
コミット
35817916e6

+ 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()