LPS-32802 ResourcePermissionLocalServiceImpl.hasResourcePermission() should call the matched persistence to get a better cache usage