删除自定义权限不起作用-出现错误-网站未与您共享 [英] Delete Custom Permissions is NOT working -getting error -site is not shared with you

查看:67
本文介绍了删除自定义权限不起作用-出现错误-网站未与您共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

i have created a event receiver on a doc lib with itemadded, itemupdated event receiver that provides permissions on the item for multiple groups and multiple users. for this i have created a permission level called npd deleteilp, that has the delete privileges on the item.

删除自定义权限级别

delete custom permissions level

我已启用-用于创建此文档库的主要版本单选按钮.并要求对包含内容的项目进行内容审批,因为 否.

i have enabled - for create major versions radio button for this doc lib. and made teh require content approval for submtted items as NO.

我的项目事件成功触发并正确应用了安全性,但是当我尝试使用具有删除权限的用户ID登录时,我无法删除该项目/文档,但出现错误

my item event fires successfully and applies the security correctly but when i try to login with that userid who has the delete permissions, i am unable to delete the item/document , but am getting error

"sorry this site is not shared with you"


推荐答案

根据我的测试,尝试为您的自定义权限级别添加以下权限.

使用远程接口- 使用SOAP,Web DAV,客户端对象模型或SharePoint Designer界面访问网站.

Use Remote Interfaces  -  Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site.

最好的问候,


这篇关于删除自定义权限不起作用-出现错误-网站未与您共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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