LPS-34190 Make skipping check of permission records switchable