mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update role.md
This commit is contained in:
parent
0e7f63c4d1
commit
11c85fe66b
@ -31,7 +31,7 @@ CREATE ROLE accountant;
|
||||
GRANT SELECT ON db.* TO accountant;
|
||||
```
|
||||
|
||||
This sequence of queries creates the role `accountant` that has the privilege of reading data from the `accounting` database.
|
||||
This sequence of queries creates the role `accountant` that has the privilege of reading data from the `db` database.
|
||||
|
||||
Assigning the role to the user `mira`:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user