if (isDerivedReadable == null) {
isDerivedReadable = obContext.getEntityAccessChecker().isDerivedReadable(getEntity());
}
if (isDerivedReadable && !p.allowDerivedRead()) {
throw new OBSecurityException(
"Entity "
+ getEntity()
+ " is not directly readable, only id and identifier properties are readable, property "
+ p + " is neither of these.");
}