在sharepoint designer 2013工作流程上提交后删除权限 [英] removing permission once submitted on sharepoint designer 2013 workflow

查看:50
本文介绍了在sharepoint designer 2013工作流程上提交后删除权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了内容管理器和内容审批组。


我需要删除/读取内容的权限经理组将项目提交到sharepoint设计器上的事件列表。


我使用启动审批工作流程来启动任务工作流程,一旦项目被拒绝,我需要提供权限到内容管理员的小组,以便他可以编辑该字段并重新提交。


我不是这方面的专家我怎么做?

解决方案


你可以通过'Call Http Web Service调用其余的api '打破项目权限的操作,例如:


/ _ api / web / lists(guid'5bfb6f1e-fd8d-4b73-aa0a -813f4f40568b')/ items(8)/ breakroleinheritance(copyRoleAssignments = false,clearSubscopes = true)


然后,通过以下端点添加分组权限。


/ _ api / web / lists(guid'CurrentListGUID')/ items(CurrentitemID)/ roleassignments / addroleassignment(principalid = UserIDNumber,roleDefId = 1073741827)


以下是供您参考的主题。


http://enjoymicrosoftsharepoint.blogspot.com/2016/06/how-to-set-item-level- permissions-using.html


最好的问候,



Hi,

i have created content manager and content approval group.

I need to remove/read permission of the content manager group once the item is submitted to an event list on the sharepoint designer.

I use Start an approval workflow to start a task workflow and once the item is rejected i need to give permission back to the content manager's group so that he can edit the field and resubmit.

i am not an expert in this how do i do this ?

解决方案

Hi,

You could call the rest api by ‘Call Http Web Service’ action to break item permission, for example:

/_api/web/lists(guid'5bfb6f1e-fd8d-4b73-aa0a-813f4f40568b')/items(8)/breakroleinheritance(copyRoleAssignments=false,clearSubscopes=true)

Then, add permission to group by below endpoint.

/_api/web/lists(guid'CurrentListGUID')/items(CurrentitemID)/roleassignments/addroleassignment(principalid=UserIDNumber,roleDefId=1073741827)

Here is the thread for your reference.

http://enjoymicrosoftsharepoint.blogspot.com/2016/06/how-to-set-item-level-permissions-using.html

Best Regards,

Lee


这篇关于在sharepoint designer 2013工作流程上提交后删除权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆