Skip to content

Automatically assign points to scopes when no scope is preassigned (for each point or the whole process)

Context: As a user, when I browse the whole map I can see points located over certain scopes, however when I select these scopes, the points disappear because they are not affected.

Expected: Points shouldn't disappear when I zoom in on one scope.

Solution:

  • If points are within a process which is assigned to a specific scope, make them inherit this scope
  • If points are within a process which is not assigned to a specific scope, assign them to the scope they appear to be in
  • If points are within a process which wasn't assigned to a specific scope but now is, leave the points assigned to their current scope

Validation steps:

  • For each of the following steps, no email notification should be sent to authors or followers of points or of the process
  • Given I have points geolocated/non-geolocated within a process not assigned to a scope, they should be automatically attributed to the scope they are appearing on
  • Given I have points geolocated/non-geolocated within a process assigned to a scope, they should be automatically attributed to the process's scope
  • Given I have points geolocated/non-geolocated within a process previously unassigned a scope, they should be assigned to the scope they were automatically attributed to (the one they appear to be on)
Edited by Lucien Langton