EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Where permission check
Yuriie9f54dd4dc91
diff --git a/application/Espo/Tools/Stream/RecordService.php b/application/Espo/Tools/Stream/RecordService.phpindex 960cb26bfc..df721fdc37 100644--- a/application/Espo/Tools/Stream/RecordService.php+++ b/application/Espo/Tools/Stream/RecordService.php@@ -464,6 +464,7 @@ class RecordService->from(Attachment::ENTITY_TYPE)->withSearchParams($searchParams)->withComplexExpressionsForbidden()+ ->withWherePermissionCheck()->buildQueryBuilder()->where(Condition::in(