kalisio / kano

Map and weather forecast data explorer in 2D/3D
https://kalisio.github.io/kano/
MIT License
24 stars 7 forks source link

Built-in feature services should not allow external updates #232

Closed claustres closed 2 years ago

claustres commented 2 years ago

Services providing data like Hub'Eau, Vigicrues, etc. should not allow any write operation from an external client in order to prevent data removal.

claustres commented 2 years ago

It should be possible to configure such a service to allow to push/remove features from an external source when creating a layer to store eg sensor data like LAB (https://github.com/kalisio/kano/issues/233) but in this case we should probably use the API Gateway and the token should be checked for the right to do so in the app. We could also possibly use a webhook as suggested in Akt'n'Map (https://github.com/kalisio/aktnmap/issues/103). The last option is to use the available permission system in the KDK to manage this.