Possible Duplicate:
Creating a custom Document Library in SharePoint
I have 2 users, Martin and John
I have 5 documents, all available to Martin and John. I also have 2 documents that are available to John only (Martin must not see them). To complicate matters these documents should replace 2 of the existing documents from the original 5 - so that only 5 documents are ever displayed to Martin or John.
John must not be able to see the original 2 documents that have been replaced. A small amount of luck is that an administrator will specify which new document should ‘replace’ an existing document from the originals. Over time I would be required to add more documents and and users, providing the same functionality开发者_Python百科 of ‘replacing’ certain documents for certain users.
How would you do this?
My first thought was creating roles and configuring the roles on each individual document; I could add and remove these roles depending on whether Martin or John should be able to see that document. I think this would get really, really complicated. What other approach could I try?
Any solution has to be security trimmed for the all important search function!
Answered here Creating a custom Document Library in SharePoint
精彩评论