mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
1d0be5495c
* DOCSUP-1394 (#139) * Added descriptions: system.roles, system.role_grants, system.current_roles, system.enabled_roles * Add columns * Add description for system.roles, system.role_grants, system.current_roles, system.enabled_roles * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update system-tables.md * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update system-tables.md * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Translate system.roles, system.role_grants, etc... * Update docs/ru/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/ru/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/ru/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/en/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> * Update docs/ru/operations/system-tables.md Co-authored-by: BayoNet <da-daos@yandex.ru> Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru> Co-authored-by: BayoNet <da-daos@yandex.ru> * CLICKHOUSEDOCS-663: Fixed links. * CLICKHOUSEDOCS-663: Fixed markup. Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com> Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru> Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
1.3 KiB
1.3 KiB
#system.role_grants {#system_tables-role_grants}
Contains the role grants for users and roles. To add entries to this table, use GRANT role TO user
.
Columns:
user_name
(Nullable(String)) — User name.role_name
(Nullable(String)) — Role name.granted_role_name
(String) — Name of role granted to therole_name
role. To grant one role to another one useGRANT role1 TO role2
.granted_role_is_default
(UInt8) — Flag that shows whethergranted_role
is a default role. Possible values:- 1 —
granted_role
is a default role. - 0 —
granted_role
is not a default role.
- 1 —
with_admin_option
(UInt8) — Flag that shows whethergranted_role
is a role with ADMIN OPTION privilege. Possible values:- 1 — The role has
ADMIN OPTION
privilege. - 0 — The role without
ADMIN OPTION
privilege.
- 1 — The role has