Skip to content

Backport to 2.27.x: #9799: Fix job_errors view leaking failed jobs to non-owners - #9856

Merged
timescale-automation merged 4 commits into
2.27.xfrom
backport/2.27.x/9799
May 19, 2026
Merged

Backport to 2.27.x: #9799: Fix job_errors view leaking failed jobs to non-owners#9856
timescale-automation merged 4 commits into
2.27.xfrom
backport/2.27.x/9799

Conversation

@timescale-automation

Copy link
Copy Markdown
Member

This is an automated backport of #9799: Fix job_errors view leaking failed jobs to non-owners.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.

For more details, please see the documentation

Original description

Fix job_errors view leaking failed jobs to non-owners

A missing pair of parentheses made operator precedence apply the role
check only to crash rows. Failed jobs bypassed the check, so any user
could see error details from other users' jobs.

A missing pair of parentheses made operator precedence apply the role
check only to crash rows. Failed jobs bypassed the check, so any user
could see error details from other users' jobs.

(cherry picked from commit f752620)
@codecov

codecov Bot commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@timescale-automation
timescale-automation merged commit 2cd97be into 2.27.x May 19, 2026
57 checks passed
@timescale-automation
timescale-automation deleted the backport/2.27.x/9799 branch May 19, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

is-auto-backport PR created by backport automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants