基于用户对库的贡献的共享点文档可见性
我们有一个文档库,要求是只有对文档做出贡献的用户才能看到该文档,而有权访问该库的其他用户不应看到该文档。
你能帮我实现这个目标吗?
更新:我和我的 TL 交谈过,他说,我们需要文档库上的多个视图。有人有新想法吗?
We have a doc library, Requirement is that only the user who has contributed to the document should be able to see the document and other user who has access to the library should not see that.
Can you please help me to achieve this.
Update: I talked to my TL he said, we need multiple Views on the Doc Library. Any one with new Ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您正在寻求真正基于权限的解决方案,您可以为添加项目处理程序开发一个事件处理程序,用于设置新创建项目的权限。
(也通过破坏父继承)
仅为创建该项目的用户设置权限(所有者)。
编辑:只需重新阅读您的问题。我没理解正确。我错过了“贡献”部分。不管怎样,我会把我的答案放在这里。
If you are after a true permission based solution, you could develop a event handler for the adding item handler that sets the permission on the newly created item.
(By breaking parent inheritance also)
Set only permissions (owner) for the user that created the item.
EDIT: Just re-read your question. I didn't understand correctly. I missed the "contribution" part. Anyway, I will let my answer be here.
添加视图并不是一个好的做法。如果想要访问数据,他可以通过使用列表 Web 服务来实现。解决方案比看起来简单得多。
1.您需要安装此:http://spdactivities.codeplex.com/。
此附加组件会将您的工作流程活动添加到 SP Designer。
2. 创建一个工作流程来执行您所描述的操作。花费的时间不会超过 10 分钟。
就是这样 :)
Adding a view is not really good practice. If one want's to gain access to the data he can do so by working with the lists web service. the solution is much simpler then it seems.
1. you need to install this: http://spdactivities.codeplex.com/.
This add-on will add you work flow activities to the SP Designer.
2. create a workflow doing what you described. It will take you no more then 10 minutes.
That's it :)