Prevent checked-out documents from being viewed
Hi, I need to be able to have checked-out documents to NOT be viewable by users in SharePoint. We are runnign SharePoint 2007 with MOSS. I thought this was a default, but apparently I am incorrect. Any help appreciated.
May 4th, 2010 5:18pm

Once a document is checked-out it is cached on the users local drive and hence not visible to other users until it is checked-in. This allows the author to work on the NEXT version of the document and also allows only one person to edit a document at a time. Check-in/check-out functionality does not prevent other users from viewing the last checked-in document (i.e. the CURRENT version). Once a document is checked-in there are only two ways to prevent users from viewing it: Revoke the user's read permissions on the document Delete the document Check-in/check-out functionality can be used in conjunction with major/minor versioning to prevent some users from viewing documents that are being edited. Minor versions of documents (i.e. DRAFT) security can be managed through the document library settings within SharePoint. The draft item security allows three different settings: you can specify whether files that are pending approval can be viewed by people with permission to read, people with permission to edit, or only the author and people with permission to approve items If the third option is chosen then the minor version (once checked-in) is only visible to the author and users with permissions to approve items. For further information on this topic refer to these articles: http://office.microsoft.com/en-us/sharepointserver/HA100986431033.aspx http://office.microsoft.com/en-us/sharepointtechnology/HA101535891033.aspx
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2010 3:16pm

"Once a document is checked-out it is cached on the users local drive and hence not visible to other users until it is checked-in. " That is the PROBLEM! I can check out a document, and I and everyone else can see the down green arrow (checked out); but they can still see the document, they can still read the document, they can still priont the document. I don't want any of that to happen. I even went so far as to NOT include versioning. I have also tried it woith versioning checked off, and this has had no effect in preventing users from viweing a checked-out document. Checked out should mean checked out.
May 5th, 2010 3:34pm

Hi, I agree with Neille. The “Check Out” can’t prevent other users viewing the document. When you disable the versioning function, the document wouldn’t keep the history of changing documents, just keep a latest version and draft version. All users can view this latest version and only the user who checks out the documents can view the draft version. Hope this helps Thanks! Stanfford
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2010 12:10pm

My question isn't being answered. So, please remove my question.
May 13th, 2010 12:58pm

Your requirement cannot be met using out of box functionality and some custom code will be required to facilitate this. You could create a custom event handler for the check-out event. When the item is checked-out, change the items security such that it is only accessible to the person that checked it out. Similarly, when the item is checked-in set the item to inherit security from the list. Some samples event handler code can be found here: http://msdn.microsoft.com/en-us/library/dd587315(office.11).aspx. If this is done then only the person that has checked-out the document will be able to see the document in the list if it is checked out to them.
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2010 1:18pm

As pointed by Neville, this should be handled using event receiver class (SPItemEventReceiver) by its ItemCheckedOut/ItemCheckedIn method. You may write the code to alter the permissions in these methods.
May 13th, 2010 2:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics