mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-10-14 15:11:07 +00:00
解决:分配权限必须退出重新登录才生效,造成很多用户困扰(目前改法缺陷:只针对当前登录人的权限修改生效)
This commit is contained in:
@@ -226,6 +226,8 @@ public class ShiroRealm extends AuthorizingRealm {
|
||||
@Override
|
||||
public void clearCache(PrincipalCollection principals) {
|
||||
super.clearCache(principals);
|
||||
//update-begin---author:scott ---date::2024-06-18 for:【TV360X-1320】分配权限必须退出重新登录才生效,造成很多用户困扰---
|
||||
super.clearCachedAuthorizationInfo(principals);
|
||||
//update-end---author:scott ---date::2024-06-18 for:【TV360X-1320】分配权限必须退出重新登录才生效,造成很多用户困扰---
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user