bcgov / NRPTI

Natural Resources Public Transparency Initiative
Apache License 2.0
5 stars 14 forks source link

[MIGRATION][NRPTI-1239] migration to fix improperly redacted AMPs #1260

Closed acatchpole closed 4 months ago

acatchpole commented 4 months ago

Pull Request Standards

Description

This migration fixes improperly redacted administrative records.

When a record is added to NRPTI, another matching record is also created in the redacted_record_subset collection. This record has all necessary redactions applied to it and is where NRCED gets its data from. Due to a bug, some records were improperly redacted. This migration finds all records that meet the standard for NOT being redacted, and then updates the associated records in both collections to have all the data that shouldn't have been redacted.

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud