Skip to content

Bug 2085143 - #2843

Merged
dklawren merged 1 commit into
mozilla:masterfrom
dklawren:2085143
Nov 24, 2026
Merged

dklawren merged 1 commit into
mozilla:masterfrom
dklawren:2085143

Conversation

@dklawren

@dklawren dklawren commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Review+ carried over from private pull request.
https://bugzilla.mozilla.org/show_bug.cgi?id=2085143

Copilot AI balanced review requested due to automatic review settings November 24, 2026 20:05

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.

🟢 Approval recommended

No active review issues block the change adding warnings for mentioned users who cannot access a bug.

No open issues 🎉

What changed in this PR

Addresses Bug 2085143 by warning commenters when mentioned users cannot see a bug and therefore will not be CC’d or receive a needinfo request. Existing access safeguards remain unchanged.

Changes:

  • Separates inaccessible mentioned users into a no_access result.
  • Displays those users in the comment editor’s live warning.
  • Adds unit and REST tests for visibility and privacy handling.
File Description
template/​en/​default/​global/​text-editor-include.html.tmpl Adds warning text for inaccessible mentioned users.
qa/​t/​rest_needinfo_mentions.t Tests REST responses for restricted and public bugs.
js/​text-editor.js Displays the new access warning in the comment editor.
extensions/​Needinfo/​t/​mentions.t Tests separate access results and existing notification safeguards.
extensions/​Needinfo/​lib/​API/​V1/​Mentions.pm Returns both mentions and no_access lists.
extensions/​Needinfo/​Extension.pm Separates notification-eligible users from users lacking access and updates callers.

Review effort: Balanced

@dklawren
dklawren merged commit 96e42b3 into mozilla:master Nov 24, 2026
7 checks passed
@dklawren
dklawren deleted the 2085143 branch November 24, 2026 20:46
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.

2 participants