Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce the concept of soft-blocked versions, expose in the admin #22690

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diox
Copy link
Member

@diox diox commented Sep 20, 2024

Fixes: mozilla/addons#15012

Testing

You can add a block through /en-US/admin/models/blocklist/blocklistsubmission/add/ and verify that it's hard by default for all affected versions once created (this PR doesn't include a way to create soft-blocks using the admin) by either looking at the block in the admin after it's been created, or looking at the BlockVersion instances in a shell.

You can alter the hard field on the BlockVersion instances to see how it affects the admin page for a given block (it should show up in the Blocked versions: part of the page).

Further admin changes are planned but were not in scope for this specific ticket (that's mozilla/addons#15013)

@diox diox requested review from a team and eviljeff and removed request for a team September 20, 2024 16:57
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]: Implement soft-blocking backend
1 participant