planetfederal / qgis-webappbuilder-plugin

GNU General Public License v3.0
18 stars 20 forks source link

Prevent Layer editing #345

Open SrNetoChan opened 7 years ago

SrNetoChan commented 7 years ago

When the user activates the Draw Feature control, all "local" layers become editable and there is no way to prevent the final user from messing with the layer's features.

Would be nice to have an option to prevent the user from editing certain layers (Under the QGIS layers tab).

bartvde commented 7 years ago

added to SDK with: https://github.com/boundlessgeo/sdk/pull/511 option is called disableEdit and set to true if you don't want a layer to be editable

@volaya can you do the WAB side?