agrc / auditor

You... are AWESOME
MIT License
0 stars 0 forks source link

Include an explicit indicator for SGID group/Open Data sharing in the meta table(s) #52

Open jacobdadams opened 3 years ago

jacobdadams commented 3 years ago

Sharing an item with SGID Open Data is currently a by-product of sharing it with an SGID group in AGOL. Auditor currently changes the group based on the fully-qualified table name in the meta table. Thus, getting Auditor to remove a dataset from Open Data would require either not processing that row (by changing the itemid field in the metatable) or shelving the dataset. Auditor would also overwrite any manual attempt to unshare the item from the SGID group.

There are two potential solutions to decouple this, and a combination of both may be desirable:

  1. Explicitly define the AGOL group in the metatable. This involves a duplication of information (group is encoded in both the table name and the new field) and could lead to out-of-sync issues between the database group and the AGOL group, but it gives us more fine-grained control over the AGOL Group.
  2. Create a single "Open Data" group to control Open Data sharing and remove the "Share with Open Data" from the SGID AGOL groups. This may require changing how our Open Data landing page icons work (I think they're currently based on groups), but I need to dig into this more.
    • Also, this could change how external orgs share their data with our open data groups. Maybe we need two groups per category, an SGID group and an SGID Open Data Group? So SGID Cadastre and SGID Open Data Cadastre?
jacobdadams commented 3 years ago

Pinging @gregbunce. I'll bring this up in our next Data Team meeting.

jacobdadams commented 3 years ago

Current Situation SGID Groups

jacobdadams commented 3 years ago

Potential Solution—Categories

jacobdadams commented 3 years ago

Potential Solution—Use Existing Groups only for Open Data Sharing