ODM2 / ODM2DataSharingPortal

A Python-Django web application enabling users to upload, share, and display data from their environmental monitoring sites via the app's ODM2 database. Data can either be automatically streamed from Internet of Things (IoT) devices, manually uploaded via CSV files, or manually entered into forms.
BSD 3-Clause "New" or "Revised" License
31 stars 8 forks source link

Allow organizations to assign maintenance/primary contact for sites #695

Open SRGDamia1 opened 10 months ago

SRGDamia1 commented 10 months ago

Sites are now "owned" by organizations, but they should still have an individual member of the organization who is the primary contact.

ptomasula commented 9 months ago

I think this is behavior as expected. By shifting to organizational ownership there is no individual member tied to any one site. The exception would be for sites owned by a users personal/individual organization. At present I have the behavior set to just display these as Individual in the organization field, but I could display the user's name or something else. I assumed that displaying user information was probably not the best behavior though.

ptomasula commented 9 months ago

I think we can add restructure this to a feature request though. While there is presently not mechanism to have an account tied to a site, we could possibly add an optional site maintainer field or something that would allow organizations to assign affiliations to specific sites.