用户权限 - 用户应该能够重命名文档但不能删除文档。 [英] User permissions - User should be able to rename the documents but not be able to delete the documents.

查看:75
本文介绍了用户权限 - 用户应该能够重命名文档但不能删除文档。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们希望为用户提供编辑权限,包括重命名文档。但是用户不应该删除文档。

目前,如果我们从用户中删除删除权限,那么他们就无法重命名文档。你能帮帮忙吗?

Hi,

We wanted to provide edit permissions to the users including rename documents. But users should not able to delete the documents.
Currently, if we remove the delete permissions from the users then they are not able to rename the documents. Can you please help?

我向微软支持提出了这个问题,我收到了以下回复。

I raised this question to Microsoft support, I got below reply.

来自Microsoft的回答: - 我们可以确认为已分配EDIT权限的用户启用了SharePoint中文档的删除和重命名选项。在SharePoint中没有任何开箱即用的方式,我们可以
分配EDIT权限,只允许用户重命名而不删除文档。

请为此建议任何定制的解决方案/选项。

MA

推荐答案



您需要捕获
ItemDeleting
事件并阻止它发生。这可以通过[n] [远程]事件接收器完成。

You would need to trap the ItemDeleting event and prevent it from occurring. This can be done via a[n] [Remote] Event Receiver.


这篇关于用户权限 - 用户应该能够重命名文档但不能删除文档。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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