[Task]: Allow for different enforcement actions based on version status
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- backend
Research direction
The issue does not name implementation files or tests. Start by tracing how reviewer policy decisions select enforcement actions for pending and public versions, then identify where version status is available in that flow. Done means one decision can trigger different actions for each version status, including multiple actions where needed.
Written by the indexing model from the issue text.
Description
Description
With changes we made earlier this year, e.g. to retroactive reviews, actioning a public version would be different from actioning pending versions for many policies.
As an example, a reviewer selecting policy violation X might result in:
- The pending versions being rejected immediately.
- The public versions being rejected with a delay.
The distinction for public vs pending versions for actions is needed to accommodate appropriate enforcement, balancing safety and developer friction and meeting requirements from initiatives like the ones mentioned above.
This feature is needed in order to enable the policy selections-only work in the reviewer tools, which in turn was made a dependency on re-enabling content-review.
Acceptance Criteria
- Enforcement actions take into account versions status and one decision can take different and multiple actions depending on the version status.
┆Issue is synchronized with this Jira Task
- Dominant language
- Makefile
- Stars
- 135
- Forks
- 52
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/addons
-
needs:info
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
[Task]: Add new confusable characters to AMO's custom mappingsPossibly taken @abhn claimed this 1 day ago. Openneeds:info
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
[Task]: Add feedback form link to PinguinoPossibly taken @diox claimed this 2 days ago. Opencomponent:pinguino_devhub
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
[Bug]: Enterprise toggle option is shown in theme version uploadPossibly taken @eviljeff claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Similar issues
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
meetecho/juturna_nodes#43 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
ranxianglei/billion-context#7860 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
`RequestHandler.build_request_kwargs` drops empty request bodies such as `{}` or `""`Possibly taken @abhirajadhikary06 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
typesense/typesense-python#170 ·
Maintainers usually reply within 1 day