Brute force workaround for issue 20329 in verifyUserPermissions