How to set permissions in GVH for a button executing WF5
How do I in GVH set permission so that only certain users can run the workflow 5?
I have set up a button which calls the WF5 via RunWorkflowByUrl command, but I don't think you one can set permissions against a button.
I have also tried and created a WF4 and added an action to call the WF5 via WebRequest, but when I run it I get "The remote server returned an error: (401) Unauthorized.", so I am unsure how to pass the credentials I used to login to GVH to the WF4 WebRequest call.
Thanks
Marco
-
Hi Marco,
Permissions for running a workflow are based on how the item is shared within your organization. The most straightforward method is to create a group of users who you wish to grant access to that workflow, then share it with that group only.
For more information on this process, take a look at this section in our docs: https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/sharing.htm#Share_Workflows%3FTocPath%3DShare%2520Workflows%7C_____0
Thanks, Stefan
0 -
Hi Stefan, thanks for the reply, but the doco does not cover what I am after. I have successfully created a button to call RunWorkflowByUrl which executes the WF5. What I cannot figure out is how to restrict that button visibility to only certain users. How can I use permissions in GVH to restrict the button which executes the WF5 to certain users?
Regards
Marco
0 -
Hello Marco,
That functionality is currently not available but if you could please add it to the Ideas section, that would be appreciated.
Thanks, Stefan
0 -
Morning,
I have solved this by creating a Geocortex Essential Workflow using the RunExternalCommand activity, setting the Command Name to "RunWorkflowByUrl" and passing the URL to the WF5 json as the Command Parameter. Now I have the ability to control permissions for access to the workflow
Regards
Marco
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer