mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2026-10-28 16:18:23 +08:00
Check stored keys and aliases before applying query arguments, backup arguments, or `SETTINGS`. Allow adding missing keys and preserve explicit `NOT OVERRIDABLE` restrictions. Dictionary sources may only add missing keys because background loading does not retain the caller's access context. Make `allow_named_collection_override_by_default` obsolete. Update the documentation and affected tests, and add regression coverage for scoped grants, roles, revocation, aliases, headers, XML paths, and engine settings. Validated with a debug build, five functional tests, and three dictionary integration tests. Closes: https://github.com/ClickHouse/clickhouse-private/issues/53768 Related: https://github.com/ClickHouse/clickhouse-private/issues/53768#issuecomment-5897437721