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

ERP模块的数据权限BUG #190

Closed
BnjaLin opened this issue Nov 19, 2024 · 1 comment
Closed

ERP模块的数据权限BUG #190

BnjaLin opened this issue Nov 19, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@BnjaLin
Copy link

BnjaLin commented Nov 19, 2024

基本信息

创建了两个仅有个人数据权限的用户,在ERP模块中分别创建自己的客户和销售订单,发现还是可以看到另一个用户的客户和订单,这是一个BUG,正确的应该只能看到自己的客户和订单。而CRM模块中,这个功能是正常的。

  • ruoyi-vue-pro 版本:最新版
  • 操作系统:linux
  • 数据库:mysql

你猜测可能的原因

(必填)我花费了 2-4 小时自查,发现可能的原因是: 表查询时没有按照用户的数据权限查询

@YunaiV
Copy link
Owner

YunaiV commented Nov 22, 2024

crm 有单独的数据权限:https://cloud.iocoder.cn/data-permission/

erp 的数据权限,需要按需添加:https://cloud.iocoder.cn/data-permission/

@YunaiV YunaiV closed this as completed Nov 22, 2024
@YunaiV YunaiV self-assigned this Nov 22, 2024
@YunaiV YunaiV added the question Further information is requested label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants