ClickHouse/dbms/tests/queries/0_stateless/01073_grant_and_revoke.reference
Vitaly Baranov 3706b9d92a Add tests.
2020-02-06 18:12:53 +03:00

12 lines
365 B
Plaintext

CREATE USER test_user_01073
A
B
GRANT DELETE, INSERT 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
C
GRANT DELETE ON *.* TO test_user_01073
GRANT SELECT(col1) ON db4.table TO test_user_01073