mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
17 lines
544 B
Plaintext
17 lines
544 B
Plaintext
A
|
|
CREATE USER test_user_01073
|
|
B
|
|
C
|
|
GRANT INSERT, ALTER DELETE ON *.* TO test_user_01073
|
|
GRANT SELECT ON db1.* TO test_user_01073
|
|
GRANT SELECT ON db2.table TO test_user_01073
|
|
GRANT SELECT(col1) ON db3.table TO test_user_01073
|
|
GRANT SELECT(col1, col2) ON db4.table TO test_user_01073
|
|
D
|
|
GRANT ALTER DELETE ON *.* TO test_user_01073
|
|
GRANT SELECT(col1) ON db4.table TO test_user_01073
|
|
E
|
|
GRANT SELECT ON db1.* TO test_role_01073
|
|
REVOKE SELECT(c1, c2, c3, c4, c5) ON db1.table1 FROM test_role_01073
|
|
REVOKE SELECT(c1) ON db1.table2 FROM test_role_01073
|