geosolutions-it / decat_geonode

GeoNode theme for Decatastrophize (DECAT GSS) EU project
2 stars 7 forks source link

Warning on COP editing #225

Closed afabiani closed 7 years ago

afabiani commented 7 years ago

Warning a user that a new Impact Assessment is going to be created. (check on linked maps lock statuses)

afabiani commented 7 years ago

when the EM is editing a COP (a map), the client should poll a endpoint like the following one

http://decat-dev.geo-solutions.it/decat/api/cops//assessments/

in order to understand if the current COP is still valid or not (i.e. check that the map id is the same)

mbarto commented 7 years ago

Apart from notifying the EM, do we need to block any functionality when this happens?