LPS-32802 ResourcePermissionLocalServiceImpl.hasResourcePermission() sho...

...uld call the matched persistence to get a better cache usage