use newer permissions hook format
Older style deprecated as of 5.71, per: https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_permission/
Older style deprecated as of 5.71, per: https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_permission/