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

数据权限使用in的问题 #1066

Closed
liudonghua123 opened this issue Apr 7, 2020 · 2 comments
Closed

数据权限使用in的问题 #1066

liudonghua123 opened this issue Apr 7, 2020 · 2 comments

Comments

@liudonghua123
Copy link
Contributor

版本号:

2.1.4

问题描述:

使用数据权限的时候,例如如果规则是 createBy IN admin,#{sys_user_code} 则不会生效,查看发现是JwtUtil代码的处理替换占位符时有问题

截图&代码:

友情提示: 未按格式要求发帖,会直接删掉。

@zhangdaiscott
Copy link
Member

可以自己改造JwtUtil

@zhangdaiscott
Copy link
Member

你也可以用自定义sql片段
image

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