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

[ bug ]权限验证bug #861

Closed
qq290070744 opened this issue Aug 31, 2020 · 3 comments
Closed

[ bug ]权限验证bug #861

qq290070744 opened this issue Aug 31, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@qq290070744
Copy link

qq290070744 commented Aug 31, 2020

在提交 issue 前,请查阅以下资源,请先进行搜索来保证没有类似的 issue。
文档 | FAQ

重现步骤

image
image

期待结果和实际结果

期待结果:

实际结果:

截图

错误日志



### 版本信息
应用版本 image: hhyo/archery:1.7.12:

部署方式:Docker
@LeoQuote
Copy link
Collaborator

没看懂,你期望是能查还是不能查

@qq290070744
Copy link
Author

t1 这个表,是没有给它分配权限的,t2这个表分配了权限,两个表联表查询,应该是要报 "t1 表没有查询权限"

@hhyo hhyo added the bug Something isn't working label Aug 31, 2020
@hhyo
Copy link
Owner

hhyo commented Aug 31, 2020

感谢反馈,确认是解析表信息的bug

nodes = tree.find_max_tree("TableRefs")

经验证将这一行修改为以下内容可以解决

 nodes = tree.find_max_tree("TableRefs", "Left", "Right")

不过需要@xxlrr 帮忙review一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants