提交 44ce05c3 authored 作者: gongwenjie's avatar gongwenjie

考勤

上级 2015f2f5
......@@ -66,7 +66,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
// .requestMatchers(CorsUtils::isPreFlightRequest).permitAll()
.antMatchers("/pas/user/**",
"/pas/authority/findAuthority",
"/pas/role","/pas/department").hasAuthority("用户管理")
"/pas/role/**","/pas/department").hasAuthority("用户管理")
.antMatchers("/pas/authority").hasAnyAuthority("权限管理")
.antMatchers("/pas/config").hasAnyAuthority("考勤管理")
.antMatchers("/pas/role").hasAnyAuthority("角色管理")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论