Prevent users with Contribute permission from creating new folders while allow them to upload docs

%3CLINGO-SUB%20id%3D%22lingo-sub-998888%22%20slang%3D%22en-US%22%3EPrevent%20users%20with%20Contribute%20permission%20from%20creating%20new%20folders%20while%20allow%20them%20to%20upload%20docs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-998888%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20a%20document%20library%20inside%20our%20sharepoint%20online%20modern%20communication%20site%20collection%2C%20and%20we%20have%20these%203%20built-in%20permission%20levels%3A-%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20Read%3C%2FP%3E%3CP%3E2)%20Contribute%3C%2FP%3E%3CP%3E3)%20Full%20control%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%20users%20with%20Contribute%20permission%20can%20upload%20documents%20and%20create%20new%20folders.%20but%20my%20question%20is%3B%20if%20we%20can%20prevent%20contributors%20from%20creating%20new%20folders%3F%20for%20example%20by%20creating%20a%20cusotm%20permission%20level%3F%20i%20do%20not%20want%20to%20prevent%20creating%20folders%20from%20the%20document%20library's%20setting%2C%20because%20i%20still%20want%20users%20with%20Full%20Control%20permission%20level%20to%20create%20folders.%20Any%20idea%20if%20this%20is%20something%20we%20can%20achieve%20inside%20sharepoint%20%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-998888%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-999215%22%20slang%3D%22en-US%22%3ERe%3A%20Prevent%20users%20with%20Contribute%20permission%20from%20creating%20new%20folders%20while%20allow%20them%20to%20upload%20do%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-999215%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233354%22%20target%3D%22_blank%22%3E%40john%20john%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfraid%20this%20isnt%20something%20that%20can%20be%20done.%20Any%20user%20with%20contribute%20or%20edit%20rights%20can%20create%20a%20folder.%20There%20isn't%20a%20permission%20for%20%22Create%20Folders%22.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAndy%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-999275%22%20slang%3D%22en-US%22%3ERe%3A%20Prevent%20users%20with%20Contribute%20permission%20from%20creating%20new%20folders%20while%20allow%20them%20to%20upload%20do%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-999275%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F214649%22%20target%3D%22_blank%22%3E%40Andrew%20Hodges%3C%2FA%3E%26nbsp%3B%20ok%20thanks%20for%20the%20reply.%20so%20seems%20the%20only%20way%20is%20to%20disable%20creating%20folders%20on%20the%20list%20settings.%20and%20if%20we%20want%20to%20add%20new%20folders%2C%20to%20temporary%20enable%20creating%20folders%20%26gt%3B%26gt%3B%20create%20the%20related%20folders%20%26gt%3B%26gt%3B%20disable%20it%20again...%20does%20this%20sound%20a%20valid%20workaround%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-999388%22%20slang%3D%22en-US%22%3ERe%3A%20Prevent%20users%20with%20Contribute%20permission%20from%20creating%20new%20folders%20while%20allow%20them%20to%20upload%20do%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-999388%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233354%22%20target%3D%22_blank%22%3E%40john%20john%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20command%20on%20the%20library%20only%20disables%20the%20%22Folder%22%20option%20on%20the%20%22New%22%20menu.%20It%20doesnt%20stop%20users%20creating%20folders%20by%20uploading%20them%20or%20by%20adding%20them%20in%20a%20synced%20folder.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20any%20situation%20where%20a%20customer%20asks%20to%20disable%20folders%20I%20try%20to%20understand%20the%20problem%20they%20are%20trying%20to%20solve%20and%20look%20to%20find%20another%20solution%20accordingly.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAndy%3C%2FP%3E%3C%2FLINGO-BODY%3E
Valued Contributor

We have a document library inside our sharepoint online modern communication site collection, and we have these 3 built-in permission levels:-

 

1) Read

2) Contribute

3) Full control

 

Currently users with Contribute permission can upload documents and create new folders. but my question is; if we can prevent contributors from creating new folders? for example by creating a cusotm permission level? i do not want to prevent creating folders from the document library's setting, because i still want users with Full Control permission level to create folders. Any idea if this is something we can achieve inside sharepoint ?

Thanks

3 Replies

Hi @john john ,

 

Afraid this isnt something that can be done. Any user with contribute or edit rights can create a folder. There isn't a permission for "Create Folders". 

 

Andy

@Andrew Hodges  ok thanks for the reply. so seems the only way is to disable creating folders on the list settings. and if we want to add new folders, to temporary enable creating folders >> create the related folders >> disable it again... does this sound a valid workaround?

Hi @john john ,

 

The command on the library only disables the "Folder" option on the "New" menu. It doesnt stop users creating folders by uploading them or by adding them in a synced folder. 

 

In any situation where a customer asks to disable folders I try to understand the problem they are trying to solve and look to find another solution accordingly. 

 

Hope that helps.


Andy