Open eviljeff opened 3 months ago
For most reviewer tools functionality that is going to be enough, but resolving abuse reports with no action (or linking to cinder policies in the admin) would need a cinder policy.
Andrew to check whether we can directly import prod in fixtures or something along those lines.
Andrew to check whether we can directly import prod in fixtures or something along those lines.
There were no issues raised - other than wanting the data to be up to date (there are some policies in cinder that are different to their associated ReviewActionReason) and a concern about keeping the data aligned long term.
We could reduce the risk here by only importing a subset of the the policies that are fairly stable, so the tools are usable, and anyone is working on cinder<->amo integration can sync the complete set of policies themselves via the admin.
The meeting consensus was to add fake CinderPolicy instances via a fixture (or similar) because using real policies with real UUIDs could cause conflicts if the local developer user was to connect to the cinder API.
Description
spun off https://github.com/mozilla/addons/issues/14915
We don't create any ReviewActionReason instances for a fresh local addons-server installation but the reviewer tools isn't usable without at least one RevewActionReason. So lets create some in our landfill app, which generates sample data for initialization.
Acceptance Criteria
Checks
┆Issue is synchronized with this Jira Task