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] when user has Select priv, use cannot visit db.table. #2799

Open
ZhendongBai opened this issue Dec 23, 2024 · 0 comments
Open

[BUG] when user has Select priv, use cannot visit db.table. #2799

ZhendongBai opened this issue Dec 23, 2024 · 0 comments
Labels

Comments

@ZhendongBai
Copy link

Describe the bug

when user has global Select priv, call com.pingcap.tispark.auth.TiAuthorization#visible, will return false, and we cannot query tidb table.
What do you expect
when user has global Select priv, call com.pingcap.tispark.auth.TiAuthorization#visible, will return true

What happens instead

Image

Spark and TiSpark version info
spark 3.3.2
TiSpark 3.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant