Test, enotice fixes, handling for permissions key for Member_Tasks
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 24 Jul 2021 06:01:50 +0000 (18:01 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 25 Jul 2021 21:17:02 +0000 (09:17 +1200)
commit61fad6d6889e28d4da338ba90fd2653f6ec2221a
tree27bfce02f7274dc859503137e40daf9fae0468ec
parent0ffbb9766c82a794512d4f22cec866468d890af7
Test, enotice fixes, handling for permissions key for Member_Tasks

Alternate potential approach to the enotice portion of https://github.com/civicrm/civicrm-core/pull/20940
This approach adds support for permissions using a syntax like
https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_summaryActions/
and would potentially standardise that onto the search_tasks hook
https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_searchTasks/
- it's not quite clear what the search hooks supports -
https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_searchKitTasks/
CRM/Core/Task.php
CRM/Member/Task.php
tests/phpunit/CRM/Member/TaskTest.php [new file with mode: 0644]