v.25.11Improvement

All DDL ON CLUSTER queries now execute

All DDL ON CLUSTER queries now execute with the original query user context for better access validation. #71334 (pufit).
All DDL queries executed with the ON CLUSTER clause now run with the original query user's context to enhance access validation.

Why it matters

Previously, DDL queries with ON CLUSTER might not have properly validated user permissions, leading to potential security issues. This feature ensures that access rights are checked based on the original user who initiated the query, improving security and consistency when running distributed schema changes.

How to use it

Users can continue running DDL queries with ON CLUSTER as before. The execution context is automatically applied with the original query user's permissions, requiring no additional configuration.