Skip to content

Revert "no bug - Show Bounty Attachments to the Bug Reporter" - #2761

Merged
dklawren merged 1 commit into
mozilla:masterfrom
dveditz:master
Sep 24, 2026
Merged

dklawren merged 1 commit into
mozilla:masterfrom
dveditz:master

Conversation

@dveditz

@dveditz dveditz commented Sep 24, 2026

Copy link
Copy Markdown
Member

This reverts commit 4ad97d0.

/cc @tomrittervg

@dklawren
dklawren requested review from dklawren and a balanced review from Copilot September 24, 2026 19:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The reverted visibility policy is applied consistently across data retrieval and both attachment interfaces.

Review effort: Balanced
Findings: None

What changed in this PR

Reverts bounty-specific access for bug reporters, restoring standard private-attachment visibility rules.

Changes:

  • Limits private attachments to insiders or submitters.
  • Restores the prior bounty edit-link rendering.
  • Removes obsolete synchronization guidance.
File Description
template/​en/​default/​attachment/​list.html.tmpl Restores standard private-attachment filtering.
extensions/​BugModal/​template/​en/​default/​bug_modal/​edit.html.tmpl Updates attachment counts to match restored visibility.
extensions/​BugModal/​template/​en/​default/​bug_modal/​attachments.html.tmpl Hides private bounty attachments from reporters.
extensions/​BMO/​template/​en/​default/​hook/​bug_modal/​attachments-row.html.tmpl Restores bounty edit-link rendering.
extensions/​BMO/​Extension.pm Removes an obsolete synchronization comment.
Bugzilla/​Attachment.pm Removes reporter access at the data-query layer.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dklawren
dklawren merged commit da081b1 into mozilla:master Sep 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants