基于用户对库的贡献的共享点文档可见性

发布于 2024-08-07 11:28:29 字数 129 浏览 2 评论 0原文

我们有一个文档库,要求是只有对文档做出贡献的用户才能看到该文档,而有权访问该库的其他用户不应看到该文档。

你能帮我实现这个目标吗?

更新:我和我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

是你 2024-08-14 11:28:29
  • 将自定义视图添加到文档库,该视图仅在当前用户 == 文档创建者时显示项目。
  • 将此视图设置为默认视图。
  • 禁止用户改变视图。

如果您正在寻求真正基于权限的解决方案,您可以为添加项目处理程序开发一个事件处理程序,用于设置新创建项目的权限。
(也通过破坏父继承)
仅为创建该项目的用户设置权限(所有者)。

编辑:只需重新阅读您的问题。我没理解正确。我错过了“贡献”部分。不管怎样,我会把我的答案放在这里。

  • Add a custom view to the document library that only displays the items if the current user == creator of the document.
  • Set this view as the default view.
  • Prohibit users from changing the view.

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.

心意如水 2024-08-14 11:28:29

添加视图并不是一个好的做法。如果想要访问数据,他可以通过使用列表 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 :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文