Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级到springboot3 新建菜单 授权无用依然说没有权限 #5741

Closed
13223746581 opened this issue Dec 29, 2023 · 3 comments
Closed

Comments

@13223746581
Copy link

13223746581 commented Dec 29, 2023

版本号:

3.6.1 springboot3

前端版本:vue3版?还是 vue2版?

vue3

问题描述:

升级到springboot3 新建菜单 授权无用 增删改仍然提示没有权限 , 需要删除redis 中shiro:cache才行

截图&代码:

1703815748187

这个value值不更新

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
@zhangdaiscott
Copy link
Member

@13223746581
Copy link
Author

13223746581 commented Dec 29, 2023

shiro:cache:org.jeecg.config.shiro.ShiroRealm.authorizationCache这个 redis中的key 保存的不是用户权限字符串么 ,然后我给角色授权以后,理论上这个值应该被删除 或者更新的 ;但是并没有 ,就会导致授权过后依然没有权限

hoperunChen pushed a commit to hoperunChen/jeecg-boot that referenced this issue Jan 2, 2024
hoperunChen pushed a commit to hoperunChen/jeecg-boot that referenced this issue Jan 2, 2024
@zhangdaiscott
Copy link
Member

退出重新登录了吗

hoperunChen pushed a commit to hoperunChen/jeecg-boot that referenced this issue Jan 4, 2024
hoperunChen pushed a commit to hoperunChen/jeecg-boot that referenced this issue Jan 4, 2024
zhangdaiscott added a commit that referenced this issue Jan 4, 2024
…om hoperunChen/springboot3-fix-#5741

fix issue for springboot3 #5741: shiro 无法使用 spring boot 3.X 自带的jedis,降版本处理
hoperunChen pushed a commit to hoperunChen/jeecg-boot that referenced this issue Jan 5, 2024
EightMonth pushed a commit to EightMonth/jeecg-boot that referenced this issue Jan 5, 2024
EightMonth pushed a commit to EightMonth/jeecg-boot that referenced this issue Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants