Forum Discussion
ashmelburnian
Jul 16, 2019Brass Contributor
Disable document library sync button
We had a situation where an end user accidentally deleted thousands for files under a SharePoint document library via OneDrive. The document library itself is accessible to everyone within the co...
- Jul 16, 2019
Hi ashmelburnian - you can disable sync for the entire library in library settings > toggle 'allow items to be downloaded to offline clients' to no. If you don't want to turn off sync for the entire library, but need to prevent accidental deletion, set users permissions to Read at the top level of the library. Then for subfolders, grant Contribute level.
As far as I know, there's no ability to allow/disallow sync at sub-folder levels, just the SharePoint permission levels.
Rob Ellis
Jul 17, 2019Bronze Contributor
Not really answering your actual question - but I wonder whether it might be better to split the contents of that single document library into multiple libraries (perhaps in multiple SharePoint sites), and / or whether it is necessary or appropriate for everyone in the company to have the access to the whole of the existing library.