Access Granted- Providing the right people with editing permissions.
If you missed Part 1 you can read it here:>>
Now that we have published a feature service and created a web map, it’s time to think about establishing the roles and providing the right people with the editing rights.
Step four of the workflow.
This step is maybe the most important one in the entire process as it allows you to set access permissions.
As a creator of your web service you have to decide on whether it will be published only within your organisation or it’ll be available for the general public. In my example my map was supposed to let my colleagues and friends track us during our WA adventure, so it has had to be publically available.
So I needed to click the Share button and choose “everyone”
However that would raise a specific concern: sharing the map referencing an editable layers using the “everyone” option would grant everybody with editing rights and people would be able to add, modify and delete my “checkpoints” on the map.
Unfortunately the current functionality on feature services doesn’t allow you to restrict the editing rights on a publically available data. There are no problems with the data shared within an organisation, but if you make your map with editable layers public, you can only restrict editing to the following options:
I obviously didn’t want other people to edit or modify this data as this functionality was supposed to be reserved for my friends that were travelling with me.
So the workaround for this is to create another web map, which will reference the same layers published as a feature service but with the editing capabilities disabled. And that second map would be shared with the general public, while the source map (the first one that I have created) would be password-protected and only people with the appropriate access level would be able to edit it.
The entire schema of this field data collection workflow, where everyone can view the results but only those who have a password can edit features is summed up in the following diagram:
All I had to do was to create a new map, add the same layers and make them all not-editable.
To replicate this you have to go to My Contents, open your map once again and hit the Save As button.
Save the new map using a different name. For instance, I called mine Western Australia Adventure: public map (while the one that is editable is called Western Australia Adventure: Field map).
Disable editing on all map layers and choose a base map.
Share your map with everyone by choosing “public” in the Share menu
Hit OK and save your map once again.
Stay tuned for part 3!