There is a requirement related to search security. We have security for classes based on Access when rules and user can read/write these class instances based on when rules.
As part of global search, if multiple results exists, or if it's not a prefect case-ID match, an harness is launched to show the results(OOTB Feature).
Here, the results are fetched from indexes and looks like there is no provision to check the security (via 'access when' in this scenario). I would like to know if there is any way we can check the accessibility based on 'access when' rules before showing up the results.