Update permission hook to use preferred format, avoid deprecation notices
Uses preferred format (supported since 5.0.0) See https://github.com/civicrm/civicrm-core/pull/29173
Uses preferred format (supported since 5.0.0) See https://github.com/civicrm/civicrm-core/pull/29173