N°8234 - Allow display of unauthorized objects in notifications and event queries (#853)

* N°8234 - Allow display of unauthorized objects in notifications and event queries

* Refactor EventNotificationNewsroom class usage in iTopNewsroomController
This commit is contained in:
Lenaick
2026-03-26 11:44:06 +01:00
committed by GitHub
parent df8b25d4b4
commit 41f8437c23
10 changed files with 65 additions and 17 deletions

View File

@@ -117,6 +117,7 @@ class NotificationsRepository
protected function PrepareSearchForNotificationsByContact(int $iContactId, array $aNotificationIds = []): DBSearch
{
$oSearch = DBObjectSearch::FromOQL("SELECT EventNotificationNewsroom WHERE contact_id = :contact_id");
$oSearch->AllowAllData();
$aParams = [
"contact_id" => $iContactId,
];