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

[Task]: Allow AMO reviewers to mark abuse reports as being invalid #14777

Closed
1 task done
eviljeff opened this issue May 7, 2024 · 7 comments · Fixed by mozilla/addons-server#22278
Closed
1 task done
Assignees
Labels
Milestone

Comments

@eviljeff
Copy link
Member

eviljeff commented May 7, 2024

Description

In Cinder we recently implemented some additional policies, and an associated action, AMO_IGNORE, that resolve abuse reports as invalid without making any judgement on the content they relate to, because the report doesn't contain enough information to allow us to make a decision, or are otherwise not valid.

#1787 added support in the addons-server webhook, and an appropriate email.

We also need to empower AMO reviewers to take a similar (non-)action.

Acceptance Criteria

  ### Acceptance Criteria
  - [ ] AMO reviewer can resolve a job containing one or more abuse reports as invalid
  - [ ] The reason for the invalidity can be indicated as they don't contain enough information, or is actually add-on feedback that should go to the developer.
  - [ ] Emails added in https://github.com/mozilla/addons/issues/1787 are sent
  - [ ] No action is taken on the add-on and the developer(s) are not notified.

Checks

  • If the issue is ready to work on, I have removed the "needs:info" label.

┆Issue is synchronized with this Jira Task

@eviljeff
Copy link
Member Author

eviljeff commented May 7, 2024

TBD how we will allow the reason to be specified. In cinder we've implemented this with two policies, but we don't expose policies directly in the reviewer tools; and the reviewer-reasons selector pastes the policy text as review text to be sent to the developer.
@wagnerand for any bright ideas on how to cleverly get past this problem

@wagnerand
Copy link
Member

We might be able to solve this for simple cases using "Clear needs human review", but I think it won't be very practical. It would be quite fragile and likely not sufficient, because we made the decision to resolve all abuse reports in one category at once, while in reality, we might need to ignore some and take action based on some others. We definitely cannot ignore all, and if we action based on all, all of them are eligible to appeal (in case of version approvals of course).
Also, if you clear needs human review without marking the abuse reports as resolved, there is no way to do so anymore, so the order of things and the concurrency would make this option fragile at best.

@eviljeff
Copy link
Member Author

eviljeff commented May 8, 2024

@wagnerand

because we made the decision to resolve all abuse reports in one category at once,

This wasn't a UX decision made for the reviewer tools - it's a cinder feature/limitation - once reports for a particular entity (add-on) are combined into a job (which we certainly need, for efficiency) they can't be resolved separately

while in reality, we might need to ignore some and take action based on some others. We definitely cannot ignore all, and if we action based on all, all of them are eligible to appeal (in case of version approvals of course).

Yes, if one abuse report is valid in a job we'll offer an appeal for all.

@wagnerand
Copy link
Member

This wasn't a UX decision made for the reviewer tools - it's a cinder feature/limitation - once reports for a particular entity (add-on) are combined into a job (which we certainly need, for efficiency) they can't be resolved separately

Oh, interesting, I thought that was a UX decision just for reviewer tools. So does that mean, even if we wanted reviewers to make a decision per individual abuse report, we can't?

@eviljeff
Copy link
Member Author

eviljeff commented May 8, 2024

This wasn't a UX decision made for the reviewer tools - it's a cinder feature/limitation - once reports for a particular entity (add-on) are combined into a job (which we certainly need, for efficiency) they can't be resolved separately

Oh, interesting, I thought that was a UX decision just for reviewer tools. So does that mean, even if we wanted reviewers to make a decision per individual abuse report, we can't?

correct, decisions can only be made per job (bundle of abuse reports)

@ioanarusiczki
Copy link

I've started testing, still looking around and I'll update once I'm done with it.

@ioanarusiczki
Copy link

  • after setting up correctly Ignore and Approve actions on dev, I can no longer use "Clear needs human review" to resolve reports or appeals.

AMO dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants