Skip to content

Fix GRANT CURRENT GRANTS to account for implicit privileges - #100703

Closed
vdimir wants to merge 27 commits into
masterfrom
vdimir/implicit_grants_intersect
Closed

vdimir wants to merge 27 commits into
masterfrom
vdimir/implicit_grants_intersect

Conversation

@vdimir

@vdimir vdimir commented Mar 25, 2026 •

Copy link
Copy Markdown
Member

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):

  • GRANT CURRENT GRANTS now correctly considers implicit privileges (e.g., CREATE TABLE implicitly includes CREATE VIEW). Previously it silently granted nothing when the privilege was only available through implicit expansion.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

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

@clickhouse-gh

clickhouse-gh Bot commented Mar 25, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [4210733]

Summary: ❌

job_name test_name status info comment
Fast test FAIL
04299_restore_access_entities_current_grants_implicit FAIL cidb
Finish Workflow FAIL
python3 ./ci/jobs/scripts/workflow_hooks/new_tests_check.py FAIL
Code Review DROPPED
Fast test (arm_darwin) DROPPED
Build (amd_debug) DROPPED
Build (amd_asan_ubsan) DROPPED
Build (amd_tsan) DROPPED
Build (amd_msan) DROPPED
Build (amd_binary) DROPPED
Build (arm_debug) DROPPED

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Mar 25, 2026
@vdimir
vdimir force-pushed the vdimir/implicit_grants_intersect branch from 21bc50a to 8ca64c5 Compare March 25, 2026 14:58
@alexey-milovidov

Copy link
Copy Markdown
Member

The Stress test (arm_msan) failure is fixed by #101239, which should be merged first. After it is merged, please update the branch to include the fix.

@alexey-milovidov

Copy link
Copy Markdown
Member

The MSan stress test failure (MemorySanitizer: use-of-uninitialized-value, STID 4179-5154 or 4148-3044) is a known pre-existing issue unrelated to this PR. Fix: #102158

alexey-milovidov and others added 2 commits May 30, 2026 16:22
`RestorerFromBackup::getAccessEntitiesToRestore` limits restored grants to
what the current user is allowed to grant, documented as "same as
`GRANT CURRENT GRANTS`". After making `GRANT CURRENT GRANTS` account for
implicit privileges, this restore path was still intersecting with
explicit-only grantable rights, so a privilege available only through
implicit expansion (e.g. `CREATE VIEW` via `CREATE TABLE`) was silently
dropped on `RESTORE ... SETTINGS restore_access_entities_with_current_grants=true`.

Use `getAccessRightsWithImplicit` here as well to keep both paths consistent,
and add a focused restore test for an implicit privilege.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
`04299_restore_access_entities_current_grants_implicit` failed in CI with
`There is no role user_a ... (UNKNOWN_ROLE)` on `SHOW GRANTS FOR user_a`.

The test backs up the whole `system.users` directory and runs `RESTORE ALL`
as a restoring user that had only `CREATE USER` and `CREATE TABLE WITH GRANT
OPTION`. In a populated instance the backup also contains users that have
roles assigned, so `RESTORE ALL` aborts with `ACCESS_DENIED` ("necessary to
have the grant `ROLE ADMIN` ON *.*") before it ever reaches `user_a`, leaving
`user_a` uncreated and the subsequent `SHOW GRANTS` failing with
`UNKNOWN_ROLE`. The minimal instance used during local development happened to
contain no role-bearing users, so the test passed there.

Grant the restoring user `CREATE ROLE` and `ROLE ADMIN` as well, modelled on
the existing `04027_restore_access_entities_with_current_grants` test, so it
can restore every access entity captured by the backup. The implicit-privilege
assertion is unaffected: those extra grants carry no grant option, so they do
not appear in the grantable rights, and `user_a`'s `CREATE VIEW` is still
preserved only through the implicit expansion of `CREATE TABLE WITH GRANT
OPTION`.

CI report: #100703

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@vdimir

vdimir commented Jun 1, 2026

Copy link
Copy Markdown
Member Author

@groeneai check CI issues and link to existing fixes, or create a fix if none exist, even if the failure is unrelated to the current PR.

@groeneai

groeneai commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

@vdimir CI triage for HEAD e93ea33 (4 failing checks, all chronic, none caused by this PR's RBAC changes):

# Check Failure 30d (PRs/master) Status
1 AST fuzzer (arm_asan_ubsan) STID 0937-2b00 - UBSan negation of -9223372036854775808 in abs(Decimal<Int64>) at base/base/Decimal.cpp:75 2/0 Pre-existing edge case, fuzzer-found. Issue #79218 was CLOSED but bug recurs (same stack, same file/line). No active fix PR. Candidate for a new fix.
2 BuzzHouse (arm_asan_ubsan) STID 2518-4199 - ASan stack-use-after-scope in UserDefinedSQLFunctionVisitor (dangling NameSet) 31/7 Already fixed. PR #106121 by @KochetovNicolai merged 2026-06-01T06:35:27Z (commit 8336094). PR #100703 HEAD pre-dates the merge, a rebase + rerun should clear this.
3 Integration tests (amd_tsan, 1/6) test_rename_column/test.py::test_rename_distributed_parallel_insert_and_select 4/0 Chronic PR-only flake. Hits concentrated on PR #100185 (draft, MutateTask refactor). No active fix PR. Candidate for a new fix.
4 Stateless tests (arm_asan_ubsan, targeted) "Server died" 114/0 Generic catch-all on this lane (114 distinct PRs in 30d, 0 master). Tracked under a P2 chronic umbrella. No actionable signal.

PR #100703 modifies only src/Access/*. None of the failures touch RBAC code paths, all are pre-existing chronic CI issues.

Next actions on my side:

  • (2) clears automatically on rebase against current master.
  • (1) and (3) I will pick up as their own fix PRs in subsequent runs.
  • (4) requires no action (already umbrella-tracked).

@pufit pufit self-assigned this Jun 1, 2026

@pufit pufit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@vdimir can you explain why do we need to grant implicit grants explicitly with GRANT CURRENT GRANTS. I'm pretty sure the current behavior is intended and was already changed from getAccessRightsWithImplicit to getAccessRights before

@groeneai

groeneai commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

@vdimir follow-up on the four failing checks from my prior triage. Status today (2026-06-04):

# Check Original disposition Update
1 AST fuzzer (arm_asan_ubsan) - STID 0937-2b00 (negation of -9223372036854775808 at base/base/Decimal.cpp:75) Open, candidate for our fix PR Already covered. PR #105158 (Fix UBSan signed integer overflow in Decimal arithmetic operators (STID 0937-2022)) was merged 2026-05-31T23:56:37Z. It adds NO_SANITIZE_UNDEFINED to the unary operator-(Decimal) (the exact operator on Decimal.cpp:75 that was triggering the report; abs.cpp:23 calls it via A(-a)). CIDB confirms zero negation of ... Decimal UBSan hits on any PR or master since that merge. No separate fix PR from us is needed. Rebase against current master and the AST fuzzer signal should clear.
2 BuzzHouse (arm_asan_ubsan) - STID 2518-4199 Already fixed by PR #106121 (KochetovNicolai), needed rebase Unchanged - rebase still required.
3 Integration tests (amd_tsan, 1/6) - test_rename_column::test_rename_distributed_parallel_insert_and_select Chronic flake, candidate for our fix PR Confirmed chronic: 17 hits across 4 unrelated PRs in 30d (#100185, #101757, #105056, #100703), 0 master. Failure mode is a race in concurrent rename + merge: filesystem error: in file_size: ".../num2.cmrk2" raised when a merge cleans up the old column file while a concurrent SELECT references it. Root cause is in storage/replication interaction, not in the test. Tracking as its own task on our side; will pick it up as a separate fix PR in a subsequent run (needs TSan reproduction and a real engine fix, not a test tweak).
4 Stateless tests (arm_asan_ubsan, targeted) - "Server died" Generic catch-all, no action Unchanged - umbrella-tracked.

So the only actionable items left for this PR are the rebase (clears 1 and 2) and pufit's CHANGES_REQUESTED design question to you about implicit grants. Item 3 is on our side and is no longer blocking #100703.

Session: cron:clickhouse-ci-task-worker:20260604-064800

@alexey-milovidov

Copy link
Copy Markdown
Member

Merged master into the branch (it was ~1173 commits behind) — no conflicts, and the two-line fix in InterpreterGrantQuery and RestorerFromBackup applies cleanly on top of master's out-of-line FunctionsConversion / access refactors. ContextAccessWrapper::getAccessRightsWithImplicit still exists, so the change is intact.

Rebuilt clickhouse (ARM) against the merged tree and re-ran the affected tests against a fresh binary — all pass:

  • 03215_grant_current_grants — OK
  • 04057_grant_current_grants_implicit — OK
  • 04299_restore_access_entities_current_grants_implicit — OK

The pre-merge CI failures all look unrelated to this access-control change and should be re-evaluated on the fresh CI run:

  • Server died (Stateless arm_asan_ubsan) — generic, no test attribution.
  • test_rename_column::test_rename_distributed_parallel_insert_and_select (Integration amd_tsan) — timeout in a Remote/MergeTreeReaderWide read path.
  • AST fuzzer UBSan in DB::FunctionLDistance (src/Functions/vectorFunctions.cpp:1258).
  • BuzzHouse stack-use-after-scope during AST-fuzzer node update.

None touch the access subsystem.

@alexey-milovidov

Copy link
Copy Markdown
Member

Refreshed the branch: merged current master (the branch was ~573 commits behind and red). The merge is conflict-free; the two-line change in InterpreterGrantQuery and RestorerFromBackup applies cleanly. Targeted rebuild of both translation units is clean, and 04057_grant_current_grants_implicit passes locally against the relinked binary.

CI: the only failing check is BuzzHouse (arm_asan_ubsan) — Logical error: Mapping for table with UUID=A already exists (STID 3178-4504), in DatabaseCatalog::addUUIDMapping on ATTACH/CREATE TABLE. This is a chronic, pre-existing fuzzer issue unrelated to the RBAC change here — it has recurred across many unrelated PRs (e.g. #105714, #106268, #100047, #105020, #97672, #97431) and @groeneai already triaged it on this PR.

I intentionally did not touch the access-control semantics: the open design question raised by @pufit (CHANGES_REQUESTED) and the automated review — whether GRANT CURRENT GRANTS should materialize implicit privileges as explicit grants on the target — is a deliberate design choice for @vdimir and @pufit to settle, not a mechanical fix. For context, the related revoke-side check was switched to getAccessRightsWithImplicit in #72872.

groeneai added a commit to groeneai/ClickHouse that referenced this pull request Jun 19, 2026
DatabaseCatalog::addUUIDMapping(uuid, db, table) threw a LOGICAL_ERROR when
the UUID was already mapped to a live table. During ATTACH DATABASE (and
server startup) tables are loaded via attachTable, which calls addUUIDMapping
directly with a real (database, table) pair and bypasses the empty "lock"
reservation. If two table metadata files in the loaded database declare the
same explicit UUID, the second table reaches that throw and the LOGICAL_ERROR
aborts the whole server in debug/sanitizer builds.

Two table .sql files sharing one UUID is user-controlled, external on-disk
state: it can be produced by manual edits, or by a leftover _tmp_replace_*
table from CREATE OR REPLACE TABLE ... UUID '...' that carries the same
explicit UUID as the live target table. That is a user error, not an internal
invariant violation, and the sibling branch already reports the same condition
as a non-fatal TABLE_ALREADY_EXISTS ("UUID collision, most likely because some
not random UUIDs were manually specified"). The runtime ATTACH TABLE path even
hits that friendly error today; only the load path aborts.

Report the collision as TABLE_ALREADY_EXISTS instead of LOGICAL_ERROR. The
conflicting table fails to load with a clear message, the rest of the database
attaches, and the server stays up. This covers both the ATTACH DATABASE async
load path and the server startup path.

Found by BuzzHouse (amd_tsan) on PR ClickHouse#105020 (STID 3178-4166); the family also
hit PRs ClickHouse#100047, ClickHouse#106268, ClickHouse#100703 (STID 3178-4504). New test
04340_attach_database_duplicate_uuid_no_crash reproduces the crash
deterministically and verifies the server survives.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
…T CURRENT GRANTS`

Address the review: consulting `getAccessRightsWithImplicit` for the copy-all
form `GRANT CURRENT GRANTS ON db.*` (which the parser lowers to `ALL ON db.*`)
changed what that form means. Instead of copying the stored grants of the
current user, it materialized the whole implicit closure as separate explicit
grants on the grantee: a user holding only `CREATE TABLE ... WITH GRANT OPTION`
gave the grantee an explicit `CREATE VIEW` that stays behind once
`CREATE TABLE` is revoked, plus `SHOW DATABASES`, `SHOW TABLES`,
`CREATE TEMPORARY VIEW` and friends. That is a change of the existing
semantics, which is why it had to rewrite the expectations of
`03215_grant_current_grants` and of six assertions in
`test_with_table_engine_grant.py`.

`calculateCurrentGrantRightsWithIntersection` now splits the request:
privileges named explicitly, e.g. `GRANT CURRENT GRANTS(CREATE VIEW ON db.*)`,
are intersected with the implicit rights - this is the case the pull request
set out to fix, where the request was silently dropped - while an element
asking for everything (`ALL`) keeps being intersected with the stored rights,
so the copy-all form copies the grants as they are.

The reverted test expectations are back to what they are on `master`, and
`04057_grant_current_grants_implicit` gains cases for the copy-all form, for
its explicit `CURRENT GRANTS(ALL ON ...)` equivalent, and for the revoke
behavior of the grantee afterwards.

The `RestorerFromBackup` side is unchanged: there the implicit rights only act
as a limiter on the grants stored in the backup, so no derived privilege can be
materialized.
@clickhouse-gh

clickhouse-gh Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 86.50% 86.50% +0.00%
Functions 91.90% 91.90% +0.00%
Branches 78.70% 78.70% +0.00%

Changed lines: Changed C/C++ lines covered: 20/21 (95.24%) · Uncovered code

Full report · Diff report

@clickhouse-gh

clickhouse-gh Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 162782110 with master 5013aaf2b (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

8 translation units recompiled, 17 s compile time in total, 8 of them have a recent master baseline.

Job report

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 @pufit @vdimir, I refreshed this branch to current master and rebuilt clickhouse. The remaining request is a product-semantics decision: this PR deliberately changes GRANT CURRENT GRANTS and RESTORE ... restore_access_entities_with_current_grants=true from copying stored grantable rights to materializing derived implicit rights as explicit grants. That changes revocation behavior: a grantee can retain an explicit derived privilege after the source privilege is revoked. There is no correctness exception to resolve mechanically; please decide whether that change in copy semantics is intended. If not, this PR should be closed; if it is, the branch is current and its targeted coverage documents the behavior.

Comment thread src/Backups/RestorerFromBackup.cpp Resolved
The automated review flagged that `restore_access_entities_with_current_grants`
intersects with `getAccessRightsWithImplicit` unconditionally, while the
copy-all `GRANT CURRENT GRANTS ON ...` form deliberately stays on the stored
rights, and asked to either change the restore side or document and test the
broader contract.

The restore path is the analogue of the named form,
`GRANT CURRENT GRANTS(CREATE VIEW ON db.*)`, not of the copy-all form: the
backup already spells out the privileges, so nothing derives the shape of the
restored grants from the grants of the restoring user - the restoring user's
rights only act as a limit. Limiting by the implicit closure therefore keeps
exactly the grants that the restoring user could also have granted by hand,
instead of silently dropping them.

Document that contract in `RestoreSettings.h` and in the backup/restore
documentation, spell it out in a comment at the call site, and cover a second
implicit edge in `04299_restore_access_entities_current_grants_implicit`:
`SHOW TABLES` restored under a restoring user that holds only
`SELECT ... WITH GRANT OPTION`.
@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 @groeneai, investigate the failure: https://github.com/ClickHouse/ClickHouse/actions/runs/31927874656/job/95193430585 (BuzzHouse (amd_tsan) on 53eb171, job report: https://s3.amazonaws.com/clickhouse-test-reports/PRs/100703/53eb171b71e609e7a48b6680a2044464fb30d028/buzzhouse_amd_tsan/job.log) and provide a fix in a separate PR. If the fix is already in progress, link it here.

The job ran 5h00m56s and was killed (Fuzzer exit code is 143 = SIGTERM), labelled under-utilized RAM, under-utilized CPU — a job-level timeout, not a server failure, and unrelated to this PR's two-line access-control change. I could not find an existing issue for the recurring BuzzHouse (amd_tsan) timeout.

@mintlify

mintlify Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
ClickHouse-docs 🟢 Ready View Preview Sep 16, 2026, 3:01 AM

@groeneai

Copy link
Copy Markdown
Collaborator

@alexey-milovidov The job was wedged in fuzzer teardown, not in the fuzzer, and it is unrelated to this PR. It is already fixed on master.

Fuzzer exit code is 143 is the normal end of a BuzzHouse run: SIGTERM from the harness's own timeout ... 1800s budget, and the server still answered SELECT 1 immediately after. The job then entered stop_server, whose first statement was an unbounded diagnostic:

17:04:38 + stop_server
17:04:38 + clickhouse-client --query 'select elapsed, query from system.processes'
17:04:39 8.118883	DETACH DICTIONARY `DROP440` ON CLUSTER 'parallel_replicas';
17:04:39 0.006592	select elapsed, query from system.processes
21:32:16 WARNING: Timeout exceeded [18000]

The query printed its rows and the command never returned. clickhouse stop was therefore never reached (grep -c '+ clickhouse stop' over job.log is 0), status.tsv was never written, and the 18000s job cap fired 4h27m later. So the 5h00m56s is about 33 minutes of real work plus that stall, which is also why the job is labelled under-utilized RAM and CPU.

#115915 (merged 2026-08-22) puts a hard deadline on exactly that line:

-    clickhouse-client --query "select elapsed, query from system.processes" ||:
+    timeout --signal TERM --kill-after=10 20 clickhouse-client --query "select elapsed, query from system.processes" ||:

This job ran on 2026-08-16, six days earlier, so it predates the fix: git merge-base --is-ancestor 6381c182 53eb171 is false. In CIDB this teardown-stall shape has 21 job-level ERROR rows across all fuzzer shards in the 45 days before that merge and 0 since, over 1244 successful fuzzer jobs.

You found no issue because there was not one. It was tracked and fixed as a PR, merged the day before your comment. No separate PR is needed here.

For completeness on the attribution: this PR's diff touches only src/Interpreters/Access/InterpreterGrantQuery.cpp, src/Backups/RestorerFromBackup.cpp and two new tests, nothing under ci/ or the fuzzer harness.

…TS(...)` form

The AI review flagged that the public docs for `restore_access_entities_with_current_grants`
still claimed "the same semantics as `GRANT CURRENT GRANTS`", while the statement now has two
user-visible modes: the copy-all form preserves the grantor's stored grant shape, and the named
form is matched against the implicit closure. Restore follows only the named form.

Spell that out in the Cloud backup guide, in the `RestoreSettings.h` comment (the source of
truth for the setting docs), and describe both modes in `docs/reference/statements/grant.mdx`.
…nts_intersect

Merged with an explicit single merge base (`git merge-tree --merge-base`): the branch
has two merge bases with master, and the criss-cross recursive merge produced thousands
of spurious conflicts in files this pull request does not touch.
The two `tests/queries/0_stateless/__cache__/*.capnp` files are schema files generated by
a local test run; they are not part of this change.
Comment thread docs/reference/statements/grant.mdx Outdated
Using the `CURRENT GRANTS` statement allows you to give all specified privileges to the given user or role.
If none of the privileges were specified, then the given user or role will receive all available privileges for `CURRENT_USER`.

The statement has two modes, which differ in how the granted privileges are derived from the grantor:

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 page is inside the AUTOGENERATED_START/AUTOGENERATED_END block, so editing it directly leaves the real source of truth unchanged. The GRANT statement docs are generated from registerStatementGrant() in src/Parsers/Access/ParserGrantQuery.cpp, which still does not contain this new CURRENT GRANTS explanation. As a result the branch fails Docs check (Mintlify), and the next docs regeneration would overwrite these lines.

Please move this text into src/Parsers/Access/ParserGrantQuery.cpp and regenerate docs/reference/statements/grant.mdx, or drop the generated-file hunk and let the docs autogen workflow produce it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🕵 Done in 4210733: the paragraph now lives in the registerStatementGrant documentation string in src/Parsers/Access/ParserGrantQuery.cpp, and docs/reference/statements/grant.mdx is reverted to its master version so the autogeneration workflow produces it.

@abashkeev abashkeev added the comp-rbac Authorization: roles, grants, quotas, row-level security, access checks. label Sep 4, 2026
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
`04299_restore_access_entities_current_grants_implicit` failed in CI with
`There is no role user_a ... (UNKNOWN_ROLE)` on `SHOW GRANTS FOR user_a`.

The test backs up the whole `system.users` directory and runs `RESTORE ALL`
as a restoring user that had only `CREATE USER` and `CREATE TABLE WITH GRANT
OPTION`. In a populated instance the backup also contains users that have
roles assigned, so `RESTORE ALL` aborts with `ACCESS_DENIED` ("necessary to
have the grant `ROLE ADMIN` ON *.*") before it ever reaches `user_a`, leaving
`user_a` uncreated and the subsequent `SHOW GRANTS` failing with
`UNKNOWN_ROLE`. The minimal instance used during local development happened to
contain no role-bearing users, so the test passed there.

Grant the restoring user `CREATE ROLE` and `ROLE ADMIN` as well, modelled on
the existing `04027_restore_access_entities_with_current_grants` test, so it
can restore every access entity captured by the backup. The implicit-privilege
assertion is unaffected: those extra grants carry no grant option, so they do
not appear in the grantable rights, and `user_a`'s `CREATE VIEW` is still
preserved only through the implicit expansion of `CREATE TABLE WITH GRANT
OPTION`.

CI report: ClickHouse#100703

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
alexey-milovidov and others added 2 commits September 16, 2026 02:18
…he parser doc source

The `GRANT` statement page under `docs/reference/statements/grant.mdx` is
generated from `registerStatementGrant` in `ParserGrantQuery.cpp`, so the
earlier direct edit inside its `AUTOGENERATED` block failed
`Docs check (Mintlify)` and would be dropped on the next regeneration.
Move the paragraph describing the named form and the copy-all form of
`GRANT CURRENT GRANTS` into the parser's documentation string and revert
the generated file to its master version.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=100703&sha=1627821104aab625b2cb9b1a6a33645d3e90bcbe&name_0=PR&name_1=Docs%20check%20%28Mintlify%29
PR: #100703

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 The Upgrade check (amd_release) red on 1627821 (Unexpected const virtual column: _table ... While executing MergeTreeSequentialSource from MutatePlainMergeTreeTask) is unrelated to this RBAC change. It is tracked in #102331 with the fix in progress in #117724. The Bugfix validation errors (Could not find master builds in S3) were caused by the stale merge base and should clear with the fresh master merge.

This branch was successfully deployed

1 active deployment
staging - docs — 4210733f Deployed Sep 16, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-rbac Authorization: roles, grants, quotas, row-level security, access checks. pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants