Skip to content

Project-based coordinate viewability should change when project type changes #295

@kueda

Description

@kueda

Currently when you join a traditional project, you can

  1. Allow project curators to view your hidden coordinates based on who added the observation to the project using the curator_coordinate_access preference on ProjectUser, and/or
  2. Allow project curators to view your hidden coordinates based on an observation-by-observation basis using the curator_coordinate_access on ProjectObservation

When a project changes from a traditional project to a collection or umbrella, the ProjectUser and ProjectObservation records persist (though the latter probably shouldn't) and we are still revealing coordinates based on the ProjectObservation preference. So

  • Stop revealing coordinates based on the ProjectObservation preference if the project is not traditional
  • Check whether this is happening for the ProjectUser preference and stop that too

Basically the same as inaturalist/inaturalist#3367, but we duplicate that functionality in this app too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions