mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
update tests
This commit is contained in:
parent
1497fc4290
commit
25d1d9c2b4
@ -14,3 +14,4 @@ GRANT INSERT(colb) ON db6.tb61 TO test_user_01999
|
||||
GRANT SHOW ON db7.* TO test_user_01999
|
||||
F
|
||||
GRANT SELECT ON all.* TO test_user_01999
|
||||
G
|
||||
|
@ -12,23 +12,27 @@ GRANT SHOW ON db2.table TO test_user_01999;
|
||||
SELECT 'B';
|
||||
SHOW GRANTS FOR test_user_01999;
|
||||
|
||||
GRANT BY REPLACE SELECT(col1) ON db3.table TO test_user_01999;
|
||||
REPLACE GRANT SELECT(col1) ON db3.table TO test_user_01999;
|
||||
|
||||
SELECT 'C';
|
||||
SHOW GRANTS FOR test_user_01999;
|
||||
|
||||
GRANT BY REPLACE SELECT(col3) ON db3.table3, SELECT(col1, col2) ON db4.table4 TO test_user_01999;
|
||||
REPLACE GRANT SELECT(col3) ON db3.table3, SELECT(col1, col2) ON db4.table4 TO test_user_01999;
|
||||
|
||||
SELECT 'D';
|
||||
SHOW GRANTS FOR test_user_01999;
|
||||
|
||||
GRANT BY REPLACE SELECT(cola) ON db5.table, INSERT(colb) ON db6.tb61, SHOW ON db7.* TO test_user_01999;
|
||||
REPLACE GRANT SELECT(cola) ON db5.table, INSERT(colb) ON db6.tb61, SHOW ON db7.* TO test_user_01999;
|
||||
|
||||
SELECT 'E';
|
||||
SHOW GRANTS FOR test_user_01999;
|
||||
|
||||
SELECT 'F';
|
||||
GRANT BY REPLACE SELECT ON all.* TO test_user_01999;
|
||||
REPLACE GRANT SELECT ON all.* TO test_user_01999;
|
||||
SHOW GRANTS FOR test_user_01999;
|
||||
|
||||
SELECT 'G';
|
||||
REPLACE GRANT USAGE ON *.* TO test_user_01999;
|
||||
SHOW GRANTS FOR test_user_01999;
|
||||
|
||||
DROP USER test_user_01999;
|
||||
|
Loading…
Reference in New Issue
Block a user