开发者

How can I allow owner of document in Library to manage permission on that document?

When a user uploads a document, I need them to be able to manage permissions on that particular document, but on开发者_如何学JAVAly have Contributor access to other documents. Ideas on how to do that? If there is a patch already out there, that would be nice.

My Ideas

  1. Write a feature that hooks the upload or check-in event, then gives Created By user full control.


I support your idea you can write a Item event reciever and on itemadded event make the creator of the document as the owner of the document you might have to use spelevated privalages to provide him the same permissions


To save you having to start writing event handlers etc... have you checked out the Custom Workflow Activities on CodePlex here: http://spdactivities.codeplex.com/ as one of the activities deals with giving permissions to the item the workflow is running on.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜