AtlasOfLivingAustralia / species-lists

Tool for managing species lists in the ALA
1 stars 0 forks source link

Missing server side validation on listType #82

Open adam-collins opened 4 months ago

adam-collins commented 4 months ago

I can only find client side validation on list type. There should be something on the server side as well. https://github.com/AtlasOfLivingAustralia/species-lists/blob/develop/lists-ui/src/listTypes.json

adam-collins commented 4 months ago

Add a service to get this list. It is a mandatory field in list creation so the list should be public.

Also, spatial-hub would benefit from a dynamic list.

adam-collins commented 4 months ago

There are other mandatory fields; licence, region. Maybe this new REST service should bundle all the valid values given that the UI restricts them.

Task