Skip to content

Change restriction type for DISABLE_AND_BLOCK - #25449

Open
chrstinalin wants to merge 1 commit into
mozilla:masterfrom
chrstinalin:#16436-blocklist
Open

chrstinalin wants to merge 1 commit into
mozilla:masterfrom
chrstinalin:#16436-blocklist

Conversation

@chrstinalin

@chrstinalin chrstinalin commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Fixes mozilla/addons#16436

Description

Changes DISABLE_AND_BLOCK scanner action to create restrictions on submission rather than approval.

Testing

  1. Add scanner rule to be triggered by add-on, with force-disable and block workflow action.
  2. Add usage tier to be triggered by add-on, with disable_and_block_action_available enabled.
  3. Upload an add-on.
  4. Run auto-approve.
  5. Add-on should be disabled. In admin, new emailuserrestriction and ipnetworkuserrestrictions should have restriction type on Add-on Submission, triggered by the add-on.
  6. No longer able to make add-on submissions.

Checklist

  • Add #ISSUENUM at the top of your PR to an existing open issue in the mozilla/addons repository.
  • Successfully verified the change locally.
  • The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.

@chrstinalin
chrstinalin marked this pull request as draft September 16, 2026 16:48
@chrstinalin
chrstinalin force-pushed the #16436-blocklist branch 3 times, most recently from f54dd21 to a697f56 Compare September 16, 2026 19:38
@chrstinalin
chrstinalin marked this pull request as ready for review September 17, 2026 15:43
@chrstinalin
chrstinalin requested a review from diox September 17, 2026 15:43
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.

[Task]: Change restriction action for force-disable+block scanner action

1 participant