简体   繁体   中英

SharePoint 2013 workflow elevated permissions

I have made a SharePoint 2013 workflow for a list in which users have read permission only. I want to give the user rights to kick off the workflow through the Custom List Action. But i get this error everytime: "Unfortunately, this site has not been shared with you." How can i solve this? I have already created the workflow using the following msdn article(creating a workflow with elevated permissions): https://msdn.microsoft.com/en-us/library/jj822159.aspx . But this does not seem to help in my case.

Had to Update-Wrong Links

If the user only has read permissions, they will be unable to add items to the list. You weren't very clear on how this workflow kicks off or what it does but my guess would be to provide either a custom permission which allows a user to add items but not edit/delete. See here for instructions on how to do this.

or

You could enable anonymous users on the list and allow anonymous users to add items. See here for instructions on how to do this.

Your security concerns are going to determine your approach but for what I have read I think either would suffice.

**** You must have Admin rights to perform this ****

In SharePoint Workflow 2013 , you can use the APP step that will allow the workflow to be authorized with its identity as a Full Control and ignore the current user permissions.

This is will ensure that the workflow will be executed successfully in case the current user has no permissions.

Note: The APP Step will be disabled if you didn't elevate the workflow permission.

For more details check Workflow was Suspended with Unauthorized HTTP / Elevate Workflow permissions in SharePoint 2013

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM