Add missing permission checks to internal chunk functions - #10386
Merged
Conversation
|
@Poroma-Banerjee, @kpan2034: please review this pull request.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
akuzm
approved these changes
Aug 3, 2026
antekresic
approved these changes
Aug 3, 2026
Several internal chunk functions were missing permission checks: - drop_chunk - drop_osm_chunk - create_compressed_chunk - freeze_chunk, unfreeze_chunk - hypertable_osm_range_update - lock_osm_chunk_dimension_slice
svenklemm
force-pushed
the
sven/perm_check
branch
from
August 3, 2026 12:16
5a7d876 to
ea7acbf
Compare
Merged
surister
pushed a commit
that referenced
this pull request
Aug 4, 2026
# TimescaleDB Changelog **Please note: When updating your database, you should connect using `psql` with the `-X` flag to prevent any `.psqlrc` commands from accidentally triggering the load of a previous TimescaleDB version.** ## 2.29.1 (2026-08-04) This release contains performance improvements and bug fixes since the 2.29.0 release and fixes for security vulnerabilities (#10360, #10379, #10386). You can check the [security advisory](https://github.com/timescale/timescaledb/security/advisories/GHSA-hcfx-29v5-2rcw) for more information on the vulnerability and the platforms that are affected. We recommend that you upgrade at the next available opportunity. **Bugfixes** * [#10327](#10327) Assertion failure in `add_dimension()` when the hypertable argument is `NULL` * [#10339](#10339) Fix crash when deleting from a compressed continuous aggregate source * [#10340](#10340) Validate `max_batches` in `compact_chunk()` * [#10352](#10352) Reset inherited column and constraint flags on chunks during `attach_chunk()` * [#10360](#10360) Fix decompressor crashes with malformed compressed data * [#10369](#10369) Fix typo in error message about `MERGE` support on compressed hypertables * [#10379](#10379) Read hypertable max time value with an ordered scan * [#10386](#10386) Add missing permission checks to internal chunk functions **Thanks** * @JoongHyuk-Shin for reporting and fixing `NULL` handling in `add_dimension()` * @igor2x for reporting a typo in a `MERGE` support error message * @mdisec for reporting issues with compressed data validation during decompression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several internal chunk functions were missing permission checks: