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

Staging: All sites belonging to my organization show up as my sites on the my sites page #691

Closed SRGDamia1 closed 6 months ago

SRGDamia1 commented 7 months ago

I now see all 68 Stroud sites as my own on the my sites page, rather than the few that I'm the primary contact for.

On staging: image

On production: image

ptomasula commented 7 months ago

This has to do with the changed definition of ownership and would be the behavior I expect. You are affiliated with the Stroud Center's organization and thereby have access to their sites. I think one thing that could help is if we binned the sites by organization affiliation or something so they were a little easier to navigate around, or tell which of the sites are your personal ones and which are by affiliation.

SRGDamia1 commented 7 months ago

In the my sites page, I'd like to see categories like "my sites within org x", "sites within org x", "my sites in org y", etc.

ptomasula commented 6 months ago

I have changed the page to group sites by organizations. The sites owned by your personal organization will always be on top, followed by affiliated organization in alphabetical order, with followed sites on the bottom. image

aufdenkampe commented 6 months ago

@ptomasula, this looks great!