mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
764 B
764 B
slug |
---|
/en/operations/system-tables/enabled-roles |
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 whetherenabled_role
is a role withADMIN OPTION
privilege.is_current
(UInt8) — Flag that shows whetherenabled_role
is a current role of a current user.is_default
(UInt8) — Flag that shows whetherenabled_role
is a default role.