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

Feature: privilege check for SELECT TABLE or VIEW #9923

Closed
yufan022 opened this issue Feb 7, 2023 · 0 comments · Fixed by #9924
Closed

Feature: privilege check for SELECT TABLE or VIEW #9923

yufan022 opened this issue Feb 7, 2023 · 0 comments · Fixed by #9924
Labels
C-feature Category: feature

Comments

@yufan022
Copy link
Contributor

yufan022 commented Feb 7, 2023

Summary

create database default;
create table default.test(a varchar);

create database default2;
create view default2.v_test as select * from default.test;

GRANT SELECT on default2.v_test TO 'xx';

Sometimes, we just want to allow user can connect Databend to query default2.v_test, and can't query any data from default.test.

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

Successfully merging a pull request may close this issue.

1 participant