I have a document library with 10 folders in. Inside one of these folders is roughly 40000 items. Of those 40000 items the permissions are all over the place and needs tidying. I would like to remove all the permissions from these items and then set the permissions at the top level of that section, then have the rest of the items inherit those permissions.
I have tried deleting unique permissions at the topmost level but this only removed the permissions for that folder. The rest still had unique permissions.