Note - Deprecate hook_civicrm_notePrivacy in favor of hook_civicrm_selectWhereClause
authorcolemanw <coleman@civicrm.org>
Mon, 18 Sep 2023 02:58:59 +0000 (22:58 -0400)
committercolemanw <coleman@civicrm.org>
Wed, 20 Sep 2023 11:30:24 +0000 (07:30 -0400)
commit305b5f4dd379f9258f2df55183fdea8c522d3835
tree81ba41e48e86d20a005b6784678eccc15bc5dce8
parent77b6e5ac3377cd1bfb1ebbc18bc9925caf06ad38
Note - Deprecate hook_civicrm_notePrivacy in favor of hook_civicrm_selectWhereClause

This enables note privacy to be enforced by SearchKit and the API,
and gives an upgrade path for implementations of hook_civicrm_notePrivacy to be refactored out.
CRM/Core/BAO/Note.php
CRM/Upgrade/Incremental/php/FiveSixtySeven.php
CRM/Utils/Hook.php
Civi/Api4/Action/Note/Get.php [new file with mode: 0644]
Civi/Api4/Generic/AbstractAction.php
Civi/Api4/Note.php
tests/phpunit/api/v4/Entity/NoteTest.php