dbca-wa / tsc

Threatened Species and Communities
https://dbca-wa.github.io/tsc/
MIT License
1 stars 0 forks source link

Lock down editing of taxonomic reference data via admin and API #2

Open florianm opened 3 years ago

florianm commented 3 years ago

Problem

TSC holds a full copy of taxonomic data from WACensus. TSC value-adds to the data (e.g. Extent of Occurrence, EOO, is saved on the "Taxon" = Taxonomic name identified by name ID), so some fields have to be updated by analysts (through API) or curators (through data curation portal). TSC currently serves as an easily accessible point of truth for taxomonic data by hosting taxonomic data on an API. Other apps like the Wildlife Licensing System (WLS) depend on this data.

Feature

Taxonomic fields (e.g. name_id, taxonomic parent, taxonomic name, etc) must be read-only to data curators (data curation portal) and analysts (API). Value-add fields (e.g. EOO) must be editable by data curators (data curation portal) and analysts (API).

florianm commented 3 years ago

Admin is restricted. TODO API and add tests to prove the above.