Skip to content

Bug 2097831 - Change the hackbot_needinfo_allowed group name to hackbot-users and make it a bug group with no products so it syncs to Phabricator - #2847

Open
dklawren wants to merge 1 commit into
mozilla:masterfrom
dklawren:2097831

Conversation

@dklawren

Copy link
Copy Markdown
Collaborator

No description provided.

…ot-users and make it a bug group with no products so it syncs to Phabricator

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 are identified for the hackbot-users group rename and migration.

No open issues 🎉

What changed in this PR

Renames the Needinfo permission group to hackbot-users and makes it a bug group with no product associations so PhabBugz can sync its membership to Phabricator.

Changes:

  • Migrates the existing group in place, preserving its ID, members, and nested groups.
  • Creates new installations’ group as a bug group and updates the permission lookup and error message.
  • Adds assertions for group configuration and migration behavior.
File Description
extensions/​Needinfo/​template/​en/​default/​hook/​global/​user-error-errors.html.tmpl Updates the blocked-request message to name hackbot-users.
extensions/​Needinfo/​t/​bmo/​block-needinfo-hackbot.t Updates group references and adds configuration and migration assertions.
extensions/​Needinfo/​Extension.pm Updates the permission lookup and adds group creation and in-place migration logic.

Review effort: Balanced

@dklawren
dklawren requested review from Xzzz and cgsheeh November 26, 2026 04:33

@Xzzz Xzzz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, thanks! :)

description => 'Users who may needinfo people that only accept '
. 'needinfo requests from hackbot-permitted users',
isbuggroup => 0,
isbuggroup => 1,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not blocking but, if I understand well, as a bug group it will also show up in the product "default security group" list on the product create/edit pages (BMO's security_groups).
Well, I suppose its probably fine since only admins see it ;)

This branch has not been deployed

No deployments
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