仅向在 sharepoint 中上传文档的用户显示文档

发布于 2024-12-02 18:11:02 字数 64 浏览 1 评论 0原文

我有一个特定的要求,我只希望文档的上传者和特定团队能够在列表/库中查看它。 1)可能吗? 2)如果是,如何...?

I have a specific requirement where-in I want only the uploader of the document and a specific team to be able to view it in list / library. 1) is it possible? 2) If yes, how...?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(4

故笙诉离歌 2024-12-09 18:11:02

好的。所以我能够通过下面提到的步骤解决我的问题。很快将以博客的形式记录并分享:

  1. 创建文档库并修改默认视图以仅显示[Me]创建/修改的文档。
  2. 向图书馆添加了一个新网页,并授予特定用户组访问该网页的专有权。
  3. 通过创建特殊权限级别来限制所有用户创建视图,其中用户只能上传或删除文档,但不能创建/更新/删除列表/视图。还禁用了私人视图创建。

希望这对正在寻找受限视图/禁用视图创建的其他人也有帮助。

Ok. So I was able to resolve my issue with the steps mentioned below. Soon will be documenting it in form of a blog and share it:

  1. Created the document library and modified the default view to only show documents that were created by/modified by [Me].
  2. Added a new web page to the library and gave exclusive rights to access that to a certain set of users.
  3. Restricted all users from creating a view with the help of creating special permission level where user only had access to upload or delete a document but not creating/updating/deleting lists/views. Also disabled private view creation.

Hope this may be helpful to others too who are looking for restricted views / disabling view creation.

梦晓ヶ微光ヅ倾城 2024-12-09 18:11:02

@Ashish,在 SharePoint 2007 GUI 中,您无法进行显示属于特定组的文档的查询,但 CAML 规范支持它(Membership 标签),直到 SP2010 才记录,但它可以在 SP2007 上运行(我正在使用它)

但这涉及自定义编码,这不会自动分配权限,它只是使您能够按组过滤文档。

对于没有自定义编码的解决方案,您可以考虑为每个人/组创建单独的文件夹/列表,并相应地设置文件夹/列表的权限。这也将有助于性能 - 在高级容器上设置权限比细粒度权限更好(我只是假设,因为我到处都读到大量细粒度权限对性能不利)

@Ashish, in SharePoint 2007 GUI you cannot make a query that will show documents that belongs to a specific group, however CAML specification supports it (Membership tag), it wasn't documented until SP2010, but it works on SP2007 (i'm using it)

However this involves custom coding and this doesn't assign permissions automatically, it just enables you to filter documents by groups.

For a solution without custom coding you could consider making a seperate folder/list for every person/group and set permissions to folder/list accordingly. This will also help performance - it's better to have permissions set on high-level container than having fine grained permissions (i'm just assuming that, because i read everywhere that mass fine-grained permissions are bad for performance)

梦里泪两行 2024-12-09 18:11:02

您可以使用当前用户过滤器 Web 部件,通过传递值 Dispaly Name 来过滤登录共享点站点的文档

You may use current user filter web part to filter the document by whom logged in into the sharepoint site by passing the value Dispaly Name

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