ClickHouse/docs/en/operations/system-tables/grants.md
Anna 1a57d25cf0
DOCSUP-1395: Add desc for system tables. (#13852)
* Add desc for system tables.

* Fixed links, add comments from the developer

* Update docs/en/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/settings_profile_elements.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/settings_profile_elements.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/settings_profile_elements.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/system-tables/users.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Link to Enum.

* Added translation to russian

* Update row_policies.md

* Add lost description

* Update docs/ru/operations/system-tables/grants.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables/grants.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/ru/operations/system-tables/row_policies.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Additions

* Fixed links

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-08-31 21:04:37 +03:00

1.5 KiB

system.grants

Privileges granted to ClickHouse user accounts.

Columns:

  • user_name (Nullable(String)) — User name.

  • role_name (Nullable(String)) — Role assigned to user account.

  • access_type (Enum8) — Access parameters for ClickHouse user account.

  • database (Nullable(String)) — Name of a database.

  • table (Nullable(String)) — Name of a table.

  • column (Nullable(String)) — Name of a column to which access is granted.

  • is_partial_revoke (UInt8) — Logical value. It shows whether some privileges have been revoked. Possible values:

  • 0 — The row describes a partial revoke.

  • 1 — The row describes a grant.

  • grant_option (UInt8) — Permission is granted WITH GRANT OPTION, see GRANT.

Original article