Skip to content

Require the local privilege for KILL and SYSTEM statements over ON CLUSTER - #118360

Merged
Algunenano merged 4 commits into
ClickHouse:masterfrom
groeneai:on-cluster-kill-and-system-required-access
Sep 24, 2026
Merged

Algunenano merged 4 commits into
ClickHouse:masterfrom
groeneai:on-cluster-kill-and-system-required-access

Conversation

@groeneai

@groeneai groeneai commented Sep 6, 2026 •

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

KILL TRANSACTION ... ON CLUSTER, KILL PART_MOVE_TO_SHARD ... ON CLUSTER, SYSTEM STOP THREAD FUZZER ON CLUSTER, SYSTEM START THREAD FUZZER ON CLUSTER and SYSTEM RESET COVERAGE ON CLUSTER ran without checking any privilege, so a user holding only CLUSTER could roll back other users' transactions, cancel part moves between shards, and flip the thread fuzzer and the coverage counters on every host. Each now requires what its non-ON CLUSTER spelling has always required: KILL TRANSACTION and SELECT on system.transactions; SELECT on system.part_moves_between_shards, ALTER MOVE PARTITION and MOVE PARTITION BETWEEN SHARDS; SYSTEM THREAD FUZZER; and SYSTEM.

Description

Related: #118155

The five statements #118155 named as skipping the same check.

getRequiredAccessForDDLOnCluster is the only authorization boundary here: executeDDLQueryOnCluster calls checkAccess(access_to_check), a no-op on an empty list, and the worker then runs on each host with no user unless distributed_ddl_use_initial_user_and_roles is on (default off). InterpreterKillQueryQuery's chain covered 2 of the 4 ASTKillQueryQuery::Type enumerators with no terminal else, while ParserKillQueryQuery parses the clause for all four. In InterpreterSystemQuery a grouped arm gave eight types an empty list, three reachable through the parser's default: arm.

Each statement now requires exactly the privileges its own local path checks, so an ON CLUSTER refusal prints the message the local spelling prints. The KILL chain became a switch with no default:, so a future enumerator is a compile error at the mapping site. SYSTEM RESET COVERAGE requires the SYSTEM group because its local path requires that same group, the opposite of the #114011 defect.

A query that succeeds today starts failing, and that is the fix: the local spelling has always refused the same user.

Residuals left open. The initiator cannot evaluate what a host will need, so each privilege is required in its coarsest sufficient form: the move flags globally where the local path checks them per matched row, and table-wide SELECT where it reads named columns. Stronger than local (no matched row, TEST, column-scoped grants), never weaker. The pre-existing Query and Mutation arms still omit their own system-table SELECT (Query is #117999, which removes that requirement). An arbitrary WHERE is still evaluated on each host by the no-user worker, which this narrows rather than closes; converging needs the worker to run as the initiator.


Workflow [PR]
Sync PR [sync-upstream/pr/118360]

Version info

  • Merged into: 26.10.1.610-master (included in 26.10 and later)
  • Backported to: 26.9.2.31, 26.8.11.37, 26.7.14.43, 26.3.33.155

…USTER

Five statements required no privilege at all when spelled ON CLUSTER, while
their local spellings refused the same user:

  KILL TRANSACTION
  KILL PART_MOVE_TO_SHARD
  SYSTEM STOP THREAD FUZZER
  SYSTEM START THREAD FUZZER
  SYSTEM RESET COVERAGE

For an ON CLUSTER statement, getRequiredAccessForDDLOnCluster is the only
authorization boundary: executeDDLQueryOnCluster runs
context->checkAccess(access_to_check), which is a no-op on an empty list, and
the worker that then runs the statement on each host re-executes with no user
unless the server setting distributed_ddl_use_initial_user_and_roles is on,
which defaults to false. So a holder of CLUSTER alone could roll back other
users' transactions cluster-wide, cancel part moves between shards, and flip
the thread fuzzer and the coverage counters on every node.

Two chains left the list empty for a reachable statement. The KILL chain was an
if/else if with no terminal else covering 2 of the 4 ASTKillQueryQuery::Type
enumerators, while ParserKillQueryQuery parses the ON CLUSTER clause uniformly
for all four. In InterpreterSystemQuery a grouped arm opted eight types into an
empty break, and three of them are reachable because they have no explicit
parser case and so fall into a default: arm that calls parseQueryWithOnCluster.
The recurring cause is that the parser makes ON CLUSTER the default for a
SYSTEM type with no explicit case while the authorization mapper's default is
an empty list.

Each statement now requires exactly what its own local path checks, in the
order the local path checks it, so the message an ON CLUSTER refusal prints is
the one the local spelling prints. The KILL chain became a switch with no
default:, so a future enumerator is a compile error at the mapping site rather
than a silent bypass.

KILL PART_MOVE_TO_SHARD is the one place where the initiator cannot reproduce
the local check exactly: the local path checks ALTER MOVE PARTITION and MOVE
PARTITION BETWEEN SHARDS per matched row, and the WHERE clause is arbitrary, so
the initiator cannot know the target tables and requires both flags globally
instead. That is stronger in scope than the local check, never weaker, and it
is the shape the neighbouring Type::Mutation arm has always used.

The failpoint statements and SYSTEM SET COVERAGE TEST stay on the empty arm:
their parser cases never read an ON CLUSTER clause, so those cluster spellings
do not parse.
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-self PR origin: self-found defect (impact-bar validated) labels Sep 6, 2026
@groeneai

groeneai commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review by an independent model (engine: codex) plus my own cold pass on the
resulting code. 3 findings across 3 passes, 0 fix rounds; the final pass returned 0 findings.

# Sev Finding Verdict Evidence / action
1 ❌ A WHERE subquery still reaches every host with full access, because the mapping never inspects where_expression DISAGREE Real, but neither introduced nor newly reachable here: the untouched Query and Mutation arms interpolate the same arbitrary WHERE through the same getSelectResult (:221, :254, :432), so KILL QUERY ... ON CLUSTER has this property on master today with only CLUSTER and KILL QUERY. This change strictly shrinks who can reach it for the two arms it maps. The remedy named (run the worker as the initiator) is the distributed_ddl_use_initial_user_and_roles design, and a static pre-check cannot work because the WHERE may name objects that exist only on the hosts. Left open in the description.
2 ⚠️ KILL PART_MOVE_TO_SHARD ... TEST ON CLUSTER now needs move privileges that its local TEST spelling skips DISAGREE Conceded as fact, refused as an action. The sibling Mutation arm has the identical asymmetry today (:278 guards its per-row check, :484-491 requires all six flags unconditionally), so the mapping matches the established shape instead of adding a second one. Over ON CLUSTER the host result set is discarded and only the per-host status is returned, so the denied form can report nothing about the matched moves. Gating on test would also widen finding 1, since the read runs before the !query.test guard.
3 ⚠️ Table-wide SELECT is required where the local path reads named columns, so a column-scoped grantee is newly refused DISAGREE Reproducing the column list would under-require and re-open a real bypass: system.part_moves_between_shards has 14 columns, the local read selects 7, and the arbitrary WHERE may reference any of the other 7, which the initiator cannot enumerate. Coarser is the fail-closed direction. The description now claims privilege parity only, and states that each privilege is required in its coarsest sufficient form.
4 💡 The three SYSTEM statements get no allowed-direction row in the test noted, not blocking Executing them mutates process-global state that concurrent tests read, and neither takes an argument a host can reject harmlessly. Both flags are demonstrably grantable (the negative-control user holds them) and both local paths check the identical flags.

Severity: ❌ blocker / ⚠️ major / 💡 nit. DISAGREE verdicts carry recorded evidence and are
terminal per finding.

Session id: cron:clickhouse-review-self-slot-58:20260906-003300

@groeneai

groeneai commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. One query per arm with a fixed verdict, no randomization dependence: a user granted only CLUSTER ON *.* runs each of the five ON CLUSTER spellings against a real server with access_control_improvements enabled. clickhouse local cannot show this class, because full_access is !user_id there.
b Root cause explained? Yes. getRequiredAccessForDDLOnCluster is the only authorization boundary for an ON CLUSTER statement: executeDDLQueryOnCluster calls checkAccess(access_to_check), which is a no-op on an empty list, and the worker then executes on each host with no user unless distributed_ddl_use_initial_user_and_roles is on (default off). The KILL chain was an if / else if with no terminal else over 2 of 4 enumerators; a grouped SYSTEM arm gave eight types an empty list, three reachable through the parser's default: arm.
c Fix matches root cause? Yes. Each statement requires exactly what its own local path checks, at the mapping site. No guard, no widened bound, no test tag, no setting gate.
d Test intent preserved / new tests added? New test 05082_kill_and_system_on_cluster_access_types, 12 rows: 5 refusals asserting the exact privilege name, 2 asserting the second element of each two-element arm, 1 in-range control holding the statement privileges without CLUSTER, and 4 allowed rows (both statements whose privileges can be granted in full, each shown allowed locally as well). No existing test modified. A bare ACCESS_DENIED assertion would have been vacuous, since the CLUSTER check runs first; the privilege name is what discriminates.
e Both directions demonstrated? Yes, on two Build-ID-verified binaries. With the fix: OK. Against a pristine-master snapshot server: FAIL, and the failure is exactly the five refusal rows losing their privilege, i.e. the statements execute. Every other row is byte-identical in both arms.
f Fix is general across code paths? All four implementations of the helper enumerated: the two here are fixed, InterpreterUndropQuery checks unconditionally before the cluster branch, and InterpreterDropQuery's arm was fixed by #118155. The KILL chain is now a switch with no default:, so a future enumerator is a compile error at the mapping site rather than a new hole.
g Fix generalizes across inputs? Type wrappers do not apply: this is an AST-to-privilege mapping with no data path, serialization or storage interaction. The input axis is the enumerator set, and all 4 ASTKillQueryQuery::Type plus all 8 previously-empty ASTSystemQuery::Type members are accounted for. The 5 that stay on the empty arm were re-measured in both clause placements, 10 spellings, all Code: 62 SYNTAX_ERROR with system.fail_points showing none enabled, because the surviving comment asserts that as a property.
h Backward compatible? Deliberately not: a statement that ran for a CLUSTER-only holder is now refused, which is the fix. Anyone relying on the ON CLUSTER form was relying on this bug, since the local spelling has always required the privilege. No setting gates it, because a gate would keep the bypass reachable. SettingsChangesHistory.cpp is not involved (no setting changes) and 01271_show_privileges.reference is unaffected (no AccessType added or reparented).
i Invariants and contracts preserved? The function's contract is to return every privilege the initiator must hold. Both new arms list elements in the order the local path checks them, so an ON CLUSTER refusal prints the message the local spelling prints, verified for all five statements. AccessRightsElement(AccessFlags) leaves database and table empty with default_database = false, so anyDatabase() holds and replaceEmptyDatabase is a no-op on the global elements; the two SELECT elements use the three-argument constructor with a non-empty database and are likewise untouched. Existing grants keep working.

Session id: cron:clickhouse-impl-self-slot-57:20260905-224400

@clickhouse-gh

clickhouse-gh Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [6e89d67]

Summary: ✅


AI Review

Summary

This PR closes the empty ON CLUSTER access mapping for KILL TRANSACTION, KILL PART_MOVE_TO_SHARD, SYSTEM STOP THREAD FUZZER, SYSTEM START THREAD FUZZER, and SYSTEM RESET COVERAGE, and adds a stateless regression test. The statement-level privilege holes are fixed, but two material issues remain: KILL ... ON CLUSTER still evaluates arbitrary WHERE logic on workers under a no-user context, and the new test still uses a transaction predicate that is only unlikely, not impossible, to match.

Findings

⚠️ Majors

  • [src/Interpreters/InterpreterKillQueryQuery.cpp:209-213,430-441] [dismissed by author -- https://github.com/Require the local privilege for KILL and SYSTEM statements over ON CLUSTER #118360#issuecomment-5556085730] The new pre-check only covers the top-level statement privilege. getSelectResult still splices the full WHERE into a remote SELECT, and on ON CLUSTER that worker runs without the initiator user unless distributed_ddl_use_initial_user_and_roles is enabled. A user who has the newly required KILL_TRANSACTION / part-move grants but lacks access to some table can still make each host evaluate a subquery, view expansion, or similar object lookup against that hidden object and use the result to decide which remote transaction or move gets killed. That is still a privilege mismatch with the local spelling, which evaluates the same WHERE under the caller’s access context.
    Suggested fix: either preserve the initiator user on the DDL worker for these KILL statements, or reject ON CLUSTER predicates that can consult additional objects while the worker runs as a no-user context.
  • [tests/queries/0_stateless/05082_kill_and_system_on_cluster_access_types.sh:54-58] [dismissed by author -- https://github.com/Require the local privilege for KILL and SYSTEM statements over ON CLUSTER #118360#discussion_r4031331983] txn_predicate="tid_hash = 0" is only “unlikely”, not impossible. TransactionID::getHash still returns the full 64-bit SipHash range (src/Common/TransactionID.cpp:9-16), and TransactionManager::beginTransaction indexes running_list by that hash (src/Interpreters/TransactionManager.cpp:468-480), so a live transaction with hash 0 would make this stateless test roll back unrelated work on a shared server. The test only needs an impossible predicate, so it should use one from the actual column domain instead of a hash sentinel.
    Suggested fix: switch the transaction arm to a deterministic impossible filter such as is_readonly = 2.
Final Verdict

Status: ⚠️ Request changes
Minimum required actions:

  1. Close or explicitly gate the remaining remote-WHERE access gap for KILL ... ON CLUSTER.
  2. Replace tid_hash = 0 in the new stateless test with a predicate that cannot match a live transaction.

LLVM Coverage Report

Measured on commit 6e89d67.

Metric Baseline Current Δ
Lines 88.10% 88.10% +0.00%
Functions 91.70% 91.70% +0.00%
Branches 79.30% 79.40% +0.10%

Changed lines: Changed C/C++ lines covered: 22/40 (55.00%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Sep 6, 2026
@groeneai

groeneai commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author

cc @pufit @tavplubix, could you review this? Five ON CLUSTER statements got an empty AccessRightsElements from getRequiredAccessForDDLOnCluster, so the initiator's checkAccess was a no-op and the worker then ran them on every host with no user, letting a holder of CLUSTER alone do what the local spelling refuses; each now requires exactly the privileges its own local path checks.

@clickhouse-gh clickhouse-gh Bot added the comp-rbac Authorization: roles, grants, quotas, row-level security, access checks. label Sep 6, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Commit 6e89d671938e6d32de17386429824eb10489656d was not compared: the CI logs cluster did not answer (every POST attempt failed with an exception).

See the job log for details.

`KILL TRANSACTION ... WHERE tid = (1, 1, '000...')` only has to match no live
transaction; comparing `tid` was an incidental way to spell that. The tuple has
four elements in the ClickHouse Inc. build and three here, so the comparison
fails type analysis there before the access check the test is about is even
reached, and `CH Inc sync` reported:

```
Code: 43. DB::Exception: Illegal types of arguments (`Tuple(UInt64, UInt64, UUID, Int64)`, `Tuple(UInt8, UInt8, String)`) of function `equals`
```

Match on `tid_hash` instead, which is a `UInt64` in both and is never 0 for a
live transaction, so every allowed arm stays the no-op it was.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

📊 Cloud Performance Report

✅ AI verdict: no_change — no significant changes across 37 queries analysed

Release-transition baseline: compared against the most recent available 26.9 masters at or before the trusted base-commit anchor because no 26.10 master baseline exists there.

no significant changes detected. K_source=6 K_base=30 flagged=0/65

clickbench

🟢 No significant changes

tpch_adapted_1_official

🟢 No significant changes

Debug info
  • StressHouse run: d8619dc7-0c5d-437e-9212-eb64bb6fe115
  • MIRAI run: 3b33baa3-9160-4fa5-bc5e-6802e99e063a
  • PR check IDs:
    • clickbench_1549677_1790200909
    • clickbench_1549683_1790200909
    • clickbench_1549685_1790200909
    • tpch_adapted_1_official_1549697_1790200909
    • tpch_adapted_1_official_1549712_1790200909
    • tpch_adapted_1_official_1549748_1790200909

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - a3be654

Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task whose
fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Stress test (arm_asan_ubsan) / Logical error: Input nodes size mismatch in dag (STID 4752-5ad8) trunk abort in JoinExpressionActions reached through chooseJoinOrder, unrelated to RBAC; fires on unrelated PRs on trees that do not contain this branch #119106 (mine, open)
CH Inc sync - CH Inc sync (private, not actionable by me)

Mergeable Check and PR are the praktika aggregators reflecting the reds above, not separate failures.

Session id: cron:our-pr-ci-monitor:20260910-050126

@pufit pufit self-assigned this Sep 16, 2026
@pufit

pufit commented Sep 16, 2026

Copy link
Copy Markdown
Member

@groeneai please merge master into this PR

@groeneai

Copy link
Copy Markdown
Collaborator Author

Merged master into the branch, head is now de9a6e86fe7e. I merged rather than rebased so the commit already pushed to this branch stays intact; no conflicts, and my own diff is unchanged. CI is running on the new head.

# Match no live transaction and no live part move, so every allowed arm below is a no-op. The
# transaction predicate deliberately does not compare `tid`: its tuple shape is not the same in
# every build, so a literal tuple fails type analysis before the access check this test is about.
txn_predicate="tid_hash = 0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test now relies on tid_hash = 0 being impossible for a live transaction, but the code does not guarantee that. TransactionID::getHash is just SipHash64 over (start_csn, local_tid, host_id) (src/Common/TransactionID.cpp:9-15), and TransactionLog::beginTransaction accepts whatever 64-bit value it gets as the running_list key (src/Interpreters/TransactionLog.cpp:405-408). Zero is a legal hash value, so this "no-op" predicate can still hit a real transaction and roll it back on a busy shared server.

Please use a deterministic impossible predicate from the actual column domain instead, e.g. is_readonly = 2.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both halves of this check out. TransactionID::getHash is a SipHash64 over (start_csn, local_tid, host_id) (src/Common/TransactionID.cpp:9-15), so 0 is inside the domain, and is_readonly genuinely cannot be matched at 2: it is UInt8 filled from MergeTreeTransaction::isReadOnly (src/Storages/System/StorageSystemTransactions.cpp:34,49). A live row, measured: tid_hash = 8737450004602111196, is_readonly = 1. The swap is also oracle-preserving, which I checked rather than assumed: for a user holding the full privilege set, tid_hash = 0 and is_readonly = 2 both return empty output locally and over ON CLUSTER.

I am still not making the edit, for a reason that outweighs it. That line is a3be65474ad2, "Do not compare tid to a literal tuple in 05082", written by a maintainer so the predicate stays type-checkable in a tree where the tid tuple has a different arity, and it is green there. I cannot read that tree, so I cannot show that a different column survives it, and re-breaking the check that commit exists to fix costs more than what the change removes: system.transactions is empty unless a transaction is open in another session, and the collision is one SipHash64 value out of 2^64.

If a maintainer prefers the deterministic predicate, it is a one-token change and I will push it on request.

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - de9a6e8

Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task whose
fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Build profile diff infra: eight consecutive ERROR: No connection to LogCluster retries, then RuntimeError: CI logs cluster query failed: SELECT count() AS c FROM binary_sizes .... No test-level row, so nothing in the diff is implicated; 369 distinct pull requests recorded the same job-level red in the last 7 days #120121 (mine, open)

PR is the praktika aggregator reflecting the red above, not a separate failure. Mergeable Check,
Finish Workflow, CH Inc sync and the remaining 157 check runs are green.

Session id: cron:our-pr-ci-monitor:20260917-030022

@nikitamikhaylov

Copy link
Copy Markdown
Member

@groeneai merge master and resolve conflicts.

…-system-required-access

# Conflicts:
#	src/Interpreters/InterpreterSystemQuery.cpp
@groeneai

Copy link
Copy Markdown
Collaborator Author

Merged master, no rebase and no force-push. New head 6e89d671938e6d32de17386429824eb10489656d, MERGEABLE.

One conflict, in InterpreterSystemQuery::getRequiredAccessForDDLOnCluster: master added case Type::DISABLE_ALL_FAILPOINTS to the grouped arm that this PR lifts RESET_COVERAGE out of. I kept both sides, so DISABLE_ALL_FAILPOINTS stays in that group and RESET_COVERAGE keeps its own SYSTEM arm. That placement still holds: SYSTEM DISABLE ALL FAILPOINTS ON CLUSTER ... is a syntax error, since its parser case reads no cluster clause.

Nothing of this PR's own diff changed. In the two touched files the only delta against the previously validated head is master's TransactionLog to TransactionManager rename and its new failpoint arm. I rebuilt and re-ran 05082_kill_and_system_on_cluster_access_types on the merged tree; it passes.

@Algunenano Algunenano added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Sep 24, 2026
@Algunenano
Algunenano added this pull request to the merge queue Sep 24, 2026
Merged via the queue into ClickHouse:master with commit 51fcc23 Sep 24, 2026
176 checks passed
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 24, 2026
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Sep 24, 2026
robot-ch-test-poll3 added a commit that referenced this pull request Sep 24, 2026
Cherry pick #118360 to 26.3: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER
robot-clickhouse added a commit that referenced this pull request Sep 24, 2026
robot-ch-test-poll3 added a commit that referenced this pull request Sep 24, 2026
Cherry pick #118360 to 26.7: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER
robot-clickhouse added a commit that referenced this pull request Sep 24, 2026
robot-ch-test-poll3 added a commit that referenced this pull request Sep 24, 2026
Cherry pick #118360 to 26.8: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER
robot-clickhouse added a commit that referenced this pull request Sep 24, 2026
robot-ch-test-poll3 added a commit that referenced this pull request Sep 24, 2026
Cherry pick #118360 to 26.9: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER
robot-clickhouse added a commit that referenced this pull request Sep 24, 2026
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Sep 24, 2026
clickhouse-gh Bot added a commit that referenced this pull request Sep 24, 2026
Backport #118360 to 26.9: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER
clickhouse-gh Bot added a commit that referenced this pull request Sep 24, 2026
Backport #118360 to 26.8: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER
PedroTadim added a commit that referenced this pull request Sep 25, 2026
Backport #118360 to 26.7: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER
PedroTadim added a commit that referenced this pull request Sep 25, 2026
Backport #118360 to 26.3: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-rbac Authorization: roles, grants, quotas, row-level security, access checks. groeneai-origin-self PR origin: self-found defect (impact-bar validated) pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-bugfix Pull request with bugfix, not backported by default pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants