v.21.1Improvements
Access Control Changes in ClickHouse: Modifications to Introspection and DDL Granting Permissions
Access control:allow_introspection_functions=0prohibits usage of introspection functions but doesn't prohibit giving grants for them anymore (the grantee will need to setallow_introspection_functions=1for himself to be able to use that grant). Similarlyallow_ddl=0prohibits usage of DDL commands but doesn't prohibit giving grants for them anymore. #17908 (Vitaly Baranov).
Why it matters
This feature separates the ability to grant permissions for introspection functions and DDL commands from the ability to use them directly. It allows administrators to grant these permissions without enabling their direct usage by default, enhancing flexibility and security in access control management.How to use it
Users with grants for introspection functions must explicitly setallow_introspection_functions=1 to use them, even if they have been granted the privilege. Similarly, allow_ddl=0 will block usage but does not prevent granting DDL command privileges. Configuration changes are done via the respective settings.