MerginMaps / mobile

Mobile app for Mergin Maps 📲. Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
280 stars 62 forks source link

Do not allow file delete operation from mobile #3393

Open saberraz opened 2 months ago

saberraz commented 2 months ago

There are several ways that a project can get corrupted on the device: antivirus, lack of storage, bad internet connection... By default we should not allow delete file operation from the mobile app. It could be a setting that enables that, if want to give the option. But generally, this should not be allowed.

For good measures, we should also block uploading of the Geopackage if it is non-geodiff-able from the app for the same reasons above (corrupted file).

tomasMizera commented 2 months ago

This is essentially what the editor permission will fix, right?

saberraz commented 2 months ago

Partially yes, but it should be disabled also for admins.