Class EntityDocsCollectionInitializer

All Implemented Interfaces:

@Component public class EntityDocsCollectionInitializer extends AbstractEntityDocsCollectionInitializer
Special handling of entitydocs relations when the target is a Resource entity (relResource_entitydocs). If the current user has access to the source entity, the relation can be resolved in privileged mode to avoid the very slow ACL rules generated by the policy processors. Resources where field_model != null are excluded because permissions may be different.