In my organization, we have a couple of field agents that all have Data Editor role and all are Mobile Worker as user type.
Adding and editing capabilities are set on a specific feature layer for all of them.
I wish that only one of them could be able to delete some entities.
Is this possible?
Thanks!
Solved! Go to Solution.
You'll want to use hosted feature layer views for this.
You'll want to use hosted feature layer views for this.
Is there any benefit of creating 2 views instead of for example giving add/update/delete rights to the user on the source feature layer and creating a view with add/update for other users?
Thanks!
The majority of the time not really (that I'm aware of), but views provide a little more future-proofing. Let's say down the road you wanted to disable updates to one specific field or disable geometry updates or something like that, using the view leaves that option open for you. If you give a user access to the source layer and they build maps/apps with it, then you want to change their access in some way and provide them with a view, they have to swap layers out of all their maps/apps/etc., it's a major hassle.
Great info.
Thank you!