Repository navigation
Add test: TO ALL settings profile path of the allow_feature_tier access check untested - #124969
Conversation
Pre-PR validation: 6/6 ✅a) Deterministic repro? ✅ b) Root cause explained? ✅ c) Fix matches root cause? ✅ d) Test intent preserved? / New tests added? ✅ e) Both directions demonstrated? ✅ f) Fix is general, not a narrow patch? ✅ |
|
Workflow [PR], commit [b5b003c] Summary: ✅ AI ReviewSummaryThis PR adds a focused stateless regression test for the Final Verdict
|
…le_to_all `allow_experimental_kusto_dialect` is now `BETA` on master, so dropping a profile with it is no longer refused. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Test-only PR. Review: are the gaps real, is the test right.
Adds test coverage for 1 untested code path, found during automated review of PR #119472.
That PR: (1) PR 119472 moves
allow_feature_tierenforcement for access entities intoAccessControl(insert/update/remove/move/restore compare effective settings before vs after viaresolveEffectiveSettings.cpp), checks removed constrained settings (checkRemovedSettings), makes profile-element …1.
TO ALLsettings profile path of theallow_feature_tieraccess check untestedsrc/Access/resolveEffectiveSettings.cpp:355,src/Access/resolveEffectiveSettings.cpp:396Risk: -
AccessControl::updateImpl/removeImpl->checkFeatureTierForPendingAccessEntities->AccessGraph::findAffectedEntities. - ATO ALLprofile has emptyto_roles.ids; its users are reached only throughprofiles_targeting_all(resolveEffectiveSettings.cpp:353-357,:394-400). The …Unique vs PR tests: PR's
test_allow_feature_tiercoversTO <user>assignment and dropping aTO <user>profile, neverTO ALL/TO ALL EXCEPT. This test also runs statelessly throughclickhouse-local(same-- --allow_feature_tierroute as the PR's own 05293) instead of a config reload. Alternative …cc @Algunenano (author of #119472) — could you take a look, and add the
can be testedlabel if this looks good?Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not applicable — test-only change.
Documentation entry for user-facing changes
Workflow [PR]
Sync PR [sync-upstream/pr/124969]
Version info
26.10.1.2306-master(included in26.10and later)