locked
Is it possible to custom the Custom Permissions? RRS feed

  • Question

  • Is it possible to create a custom permission level that gives a user (or group) the ability to manage the permission levels of an item in a Document Library ONLY?  Seems the only option is to give Full Control or in custom list choose Manage Permissions and this allows ability to manage the permission levels of the library as well as individual docs.  It is a fairly standard thing with other DM systems that the user can change the permissions of their own documents - so can it be done in Sharepoint?  Or do you have to also give them the ability to also change permission levels in the library?
    Sunday, November 1, 2009 4:16 AM

Answers

  • You can use sharepoint to support a process like this with custom permission levels:
    1. Paul uploads a document.
    2. Paul changes permission on that document so that only Paul and his colleagues can view/edit/delete.

    That approach requires manual effort on Paul's part.

    This process can also be automated with code.


    --Paul Galvin, Arcovis
      Microsoft MVP - SharePoint
      Blogging @ http://feeds.feedburner.com/PaulGalvinsSharePointSpace
      Twitter @ http://www.twitter.com/pagalvin
    • Marked as answer by Lily Wu Monday, November 9, 2009 12:28 AM
    Sunday, November 1, 2009 1:46 PM

All replies

  • You can use sharepoint to support a process like this with custom permission levels:
    1. Paul uploads a document.
    2. Paul changes permission on that document so that only Paul and his colleagues can view/edit/delete.

    That approach requires manual effort on Paul's part.

    This process can also be automated with code.


    --Paul Galvin, Arcovis
      Microsoft MVP - SharePoint
      Blogging @ http://feeds.feedburner.com/PaulGalvinsSharePointSpace
      Twitter @ http://www.twitter.com/pagalvin
    • Marked as answer by Lily Wu Monday, November 9, 2009 12:28 AM
    Sunday, November 1, 2009 1:46 PM
  • cate,

    The code Paul refers to would be in a custom Event Receiver or Workflow.

    Basically the code would:
      break the permissions inheritance from the library to the item
      set the permission on the item to "Full Control" (or a custom permission level) for the uploader user
    (note that the uploader would only need typical Contributor rights to the library. The code customizes the rights for the just uploaded item)

    An example of that kind of code can be found in this discussion:
    http://social.technet.microsoft.com/Forums/en-US/sharepointworkflow/thread/aa35ded5-c5b5-43a4-a3ac-f72b1b4c302f


    SharePoint Designer workflows cannot do this out of the box, but codeplex.com and samples of custom SPD actions that can.


    Paul,
      Your blog/feedreader URL in your signature does not work (at least for me). But I found it anyway with a search... good stuff there!

     
    Mike Smith TechTrainingNotes.blogspot.com
    Sunday, November 1, 2009 5:47 PM