none
Sharepoint library permissions and folder permissions

    Question

  • Questions 1

    if i want to give sub folder read or contribute permissions, by default on the library limited access placed and we have to give atlease read so that user can access the sub folder in that library is there any option that we give permission on sub folder and it automatically updated on the top?

    question 2

    if we create sub folder or folder in document library it automatically create the permission of document library

    is there a way that folder and sub folder should not take the inheritance automatically user should give them manually raather then creating unique and removing the users which we dont want?


    MCTS,ITIL

    Sunday, January 12, 2014 8:21 AM

Answers

  • You can attach the event receiver to content type to and deploy it as site or site collection feature 

    to be able to select the document libraries you want this feature to be enabled for I suggest that you create 

    1-Custom content Type

    2-Attach this event receiver to the custom content type

    3- the event receiver feature will be deployed either site or site collection level

    4- add the custom content type to the document libraries you want this feature to be active on

     


    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

    Monday, January 13, 2014 7:20 AM

All replies

  • Folders when created will always inherit their permissions from the Folder or Library that they are in.  There is no way to setup default permissions on a folder when it is created.  Nor is there anyway to automatically break inheritance and force the user to choose.  This would require some kind of custom programming.

    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Sunday, January 12, 2014 6:03 PM
  • you can add custom code to an event receiver in the ItemAdded Function and alter the newly created folder permission 

    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

    Sunday, January 12, 2014 7:56 PM
  • is it possible to implement the custom code on farm level/Site collection/Site level?

    do you have any sample for this?


    MCTS,ITIL

    Monday, January 13, 2014 7:11 AM
  • You can attach the event receiver to content type to and deploy it as site or site collection feature 

    to be able to select the document libraries you want this feature to be enabled for I suggest that you create 

    1-Custom content Type

    2-Attach this event receiver to the custom content type

    3- the event receiver feature will be deployed either site or site collection level

    4- add the custom content type to the document libraries you want this feature to be active on

     


    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

    Monday, January 13, 2014 7:20 AM