edit tools only for specific users
I'd like to expose editing tools only for some users of a site and I'm curious to know others handling this type of scenario?
0
-
Hi Rebecca,
Currently, the best way to accomplish this is through a workflow. The toolbar in the viewer doesn't have the ability to limit access to tools based on the user currently signed in.
The Get Current User workflow activity will allow you to detect and filter access to specific users or roles.
Thanks,
Mike Ketler0 -
Mike,
Do you have a simple example of how to accomplish this? I cannot see any workflow activity(s) that actually disable tools, let alone based on user authentication...
any help would be appreciated.
Thanks
Gareth0 -
Is there a way to supress the edit feature option shown on the menu for an identify result of a feature from a feature service for some users and allow it for others? I'm looking for a way to have one site & one viewer that the public can access and a staff member can also access using a different log in to edit information. Ideally, using one map service although it must be read-only for the public and allow the staff member to have the ability to edit features. I'm trying to limit the number of map services we are running in ArcGIS server to maintain performance and right now we have a "public" map service without feature access as well as an "internal" version with feature access enabled for editing. 0 -
Hi,
@Gareth - Sorry, to be clear, a workflow using the "Get Current User" actitivity would not enable/disable any functionality in the viewer based on the users credentials. Rather the activity would act as a gate to other activities in the workflow itself. A quick example is a query activity that would only be run if the user belonged to the correct group.
@Rebecca - Unfortunatley, no, there isn't currently anyway to disable functions (identify, edit features, ect) in the viewer based on the user accessing it.
Thanks,
Mike Ketler0 -
Thanks Mike for the clarification... 0 -
Here is a previous post that may help:
https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=906600000004InAAAU
@Rebecca: Why not just hide the feature service from public users? If you are using ArcGIS Server, then you will always have a map service with any feature service.0 -
DDS developed an extension to allow more finite permissions control of Toolbar, Results Menu, and I Want To Menu items. The code and documentation is posted on Github (https://github.com/DigitalDataServices/GeocortexMenuComponents) if you are feeling adventurous. 0 -
@Dan - That sounds like a good, simple solution. I'll give that a try!
@Tom - Coding and I have a love-hate relationship but it sounds intriguing!
Thanks everyone!0
Please sign in to leave a comment.
Comments
8 comments