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 · 1 comment
Open

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

ZhendongBai opened this issue Dec 23, 2024 · 1 comment

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

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant