ArctosDB / arctos

Arctos is a museum collections management system
https://arctos.database.museum
60 stars 13 forks source link

simplify encumbrances #8058

Open dustymc opened 2 months ago

dustymc commented 2 months ago

Help us understand your request (check below):

Describe what you're trying to do

Ref https://github.com/ArctosDB/new-collections/issues/759#issuecomment-2316258273

Arctos currently has two ways to restrict access to coordinates.

  1. https://arctos.database.museum/info/ctDocumentation.cfm?table=ctencumbrance_action#mask_coordinates is super-kludgy (no control over data) and probably not very secure (all the pieces are still available and there are a LOT of pathways to access Arctos data).
  2. https://arctos.database.museum/info/ctDocumentation.cfm?table=ctlocality_attribute_type#locality_access allows users to publish or restrict exactly what of the locality stack they wish, whatever that might be, is secure, and I don't think has or will come to have any backdoors (it acts directly on the restricted data, not on one of the many things which might use such data from several joins away).

Can we get rid of the encumbrance? I would of course migrate any existing data to use the locality attribute.

dustymc commented 1 week ago

Adding to AWG agenda: Encumbrances carry a cost which has become difficult to pay, this seems like an easy/obvious way to both lower cost and provide a better experience for all users, curatorial and researcher.

See also: https://github.com/ArctosDB/dev/issues/73