feat(security): 开放主数据同步接口访问权限
- 在安全配置中添加对 /system/user-sync/** 路径的匿名访问许可 - 允许文件读取接口的公开访问 - 更新安全策略以支持系统间数据同步需求
This commit is contained in:
@@ -39,6 +39,8 @@ public class SecurityConfiguration {
|
|||||||
.antMatchers(adminSeverContextPath + "/**").anonymous();
|
.antMatchers(adminSeverContextPath + "/**").anonymous();
|
||||||
// 文件读取
|
// 文件读取
|
||||||
registry.antMatchers(buildAdminApi("/infra/file/*/get/**")).permitAll();
|
registry.antMatchers(buildAdminApi("/infra/file/*/get/**")).permitAll();
|
||||||
|
// 主数据同步接口
|
||||||
|
registry.antMatchers(buildAdminApi("/system/user-sync/**")).permitAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user