mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
a6fb067a75
* Corrected en files * Split system-tables.md into separate files * Fixed links. * Fixed links. * Fixed links. * Fixed links. * Add ref to original article * Fixed links * Add toc_folder_title and translate * Add stack_trace.md, correct toc-title * Fixed links * Hypothesis testing * Hypothesis testing * Update run.sh, thanks @azat Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru> Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru> Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
12 lines
660 B
Markdown
12 lines
660 B
Markdown
# system.current_roles {#system_tables-current_roles}
|
|
|
|
Contains active roles of a current user. `SET ROLE` changes the contents of this table.
|
|
|
|
Columns:
|
|
|
|
- `role_name` ([String](../../sql-reference/data-types/string.md))) — Role name.
|
|
- `with_admin_option` ([UInt8](../../sql-reference/data-types/int-uint.md#uint-ranges)) — Flag that shows whether `current_role` is a role with `ADMIN OPTION` privilege.
|
|
- `is_default` ([UInt8](../../sql-reference/data-types/int-uint.md#uint-ranges)) — Flag that shows whether `current_role` is a default role.
|
|
|
|
[Original article](https://clickhouse.tech/docs/en/operations/system_tables/current-roles) <!--hide-->
|