Skip to content

Backport #129605 to 26.10: Do not let filtered source grants be bypassed by INSERT INTO FUNCTION destinations or CREATE TABLE ... AS - #133147

Merged
clickhouse-gh[bot] merged 1 commit into
26.10from
backport/26.10/129605
Nov 20, 2026
Merged

clickhouse-gh[bot] merged 1 commit into
26.10from
backport/26.10/129605

Conversation

@robot-ch-test-poll

@robot-ch-test-poll robot-ch-test-poll commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #129605
Cherry-pick pull-request #132309

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.10.8.35

…sed by `INSERT INTO FUNCTION` destinations or `CREATE TABLE ... AS`
@robot-ch-test-poll robot-ch-test-poll added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Nov 20, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [f4d7336]

Summary: ✅

@clickhouse-gh
clickhouse-gh Bot merged commit 9dd3c54 into 26.10 Nov 20, 2026
56 of 58 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.10/129605 branch November 20, 2026 08:34
kolsha pushed a commit that referenced this pull request Nov 24, 2026
Resolve the conflict in src/TableFunctions/ITableFunction.h: 26.10 keeps the
protected isClusterFunction() next to the getSourceAccessObject() declaration
that #133420 moves to the public section.

26.10 has a third caller of getSourceEngineOfTableFunction, the ON CLUSTER check
of a definition inherited by CREATE TABLE copy AS src, added by the 26.10
backport of #129605 (#133147). Switch it to getRequiredAccessOfTableFunction
like the other two callers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants