Jul 16 2019 03:37 PM
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 company.
Is it possible to disable/remove the Sync button within a document library at the root level, only allowing subfolders to be synced?
Jul 16 2019 03:43 PM
SolutionHi @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.
Jul 16 2019 03:54 PM
@Kelly_EdingerThanks for the quick reply.
@Kelly_Edinger wrote:set users permissions to Read at the top level of the library. Then for subfolders, grant Contribute level.
Would this be just one permissions settings change at the top level (apply to this folder only), without affecting the current permissions on the subfolders?
Jul 16 2019 03:59 PM
Hi @ashmelburnian - it depends. if the sub-folders are already set to not inherit permissions from the parent library, then no. You can change the library permissions to read-only. However, if the sub-folders still inherit permissions from the library, once read is set for the library itself, you'll need to hit each sub-folder and adjust its permissions.
Jul 16 2019 10:48 PM
Jul 17 2019 01:42 AM
Jul 18 2019 10:43 PM
@Kelly_Edinger wrote:Hi @ashmelburnian - it depends. if the sub-folders are already set to not inherit permissions from the parent library, then no. You can change the library permissions to read-only. However, if the sub-folders still inherit permissions from the library, once read is set for the library itself, you'll need to hit each sub-folder and adjust its permissions.
This is a bit of pain as there quite a lot of sub-folders, all of which are inheriting permissions from the parent. :(
Jul 16 2019 03:43 PM
SolutionHi @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.