ClickHouse/docs/en/operations/system-tables/enabled-roles.md
Anna a6fb067a75
DOCSUP-1915: Split system-table.md into separate files. (#13160)
* 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>
2020-08-06 11:50:29 +03:00

849 B

system.enabled_roles

Contains all active roles at the moment, including current role of the current user and granted roles for current role.

Columns:

  • role_name (String)) — Role name.
  • with_admin_option (UInt8) — Flag that shows whether enabled_role is a role with ADMIN OPTION privilege.
  • is_current (UInt8) — Flag that shows whether enabled_role is a current role of a current user.
  • is_default (UInt8) — Flag that shows whether enabled_role is a default role.

Original article