开发者

Display document only to user who uploaded it in sharepoint

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...?


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.


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, 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)


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜