提交 7c5f9605 authored 作者: gongwenjie's avatar gongwenjie

合并分支 'gwj' 到 'master'

考勤 查看合并请求 !78
流水线 #118 已失败 于阶段
...@@ -66,7 +66,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -66,7 +66,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
// .requestMatchers(CorsUtils::isPreFlightRequest).permitAll() // .requestMatchers(CorsUtils::isPreFlightRequest).permitAll()
.antMatchers("/pas/user/**", .antMatchers("/pas/user/**",
"/pas/authority/findAuthority", "/pas/authority/findAuthority",
"/pas/role","/pas/department").hasAuthority("用户管理") "/pas/role/**","/pas/department").hasAuthority("用户管理")
.antMatchers("/pas/authority").hasAnyAuthority("权限管理") .antMatchers("/pas/authority").hasAnyAuthority("权限管理")
.antMatchers("/pas/config").hasAnyAuthority("考勤管理") .antMatchers("/pas/config").hasAnyAuthority("考勤管理")
.antMatchers("/pas/role").hasAnyAuthority("角色管理") .antMatchers("/pas/role").hasAnyAuthority("角色管理")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论