LPS-35712 Permissions checking that were accidentally removed