LPS-44997 Apply restrictions to folders