mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
1.3 KiB
1.3 KiB
slug |
---|
/en/operations/system-tables/role-grants |
role_grants
Contains the role grants for users and roles. To add entries to this table, use GRANT role TO user
.
Columns:
-
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