仅向在 sharepoint 中上传文档的用户显示文档
我有一个特定的要求,我只希望文档的上传者和特定团队能够在列表/库中查看它。 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
好的。所以我能够通过下面提到的步骤解决我的问题。很快将以博客的形式记录并分享:
希望这对正在寻找受限视图/禁用视图创建的其他人也有帮助。
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:
Hope this may be helpful to others too who are looking for restricted views / disabling view creation.
您需要通过事件处理程序设置项目级别权限:
http: //www.chakkaradeep.com/post/SharePoint-ndash3b-Setting-Item-level-permission.aspx
http://msdnvietnam.net /blogs/quang/archive/2009/07/02/sharepoint-eventhandler-set-item-level-permission.aspx
You need to set item level permission through event handler:
http://www.chakkaradeep.com/post/SharePoint-ndash3b-Setting-Item-level-permission.aspx
http://msdnvietnam.net/blogs/quang/archive/2009/07/02/sharepoint-eventhandler-set-item-level-permission.aspx
@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)
您可以使用当前用户过滤器 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