I'm not sure if this is related, but we've observed that with the current upgrade process, all extension-defined permissions (hook_civicrm_permission) get lost (in Drupal7).
We first observed this rolling out 5.13.4, but we thought it was a fluke. We then saw it again with 5.19.3, and started looking into it. For the versions in between I don't have reliable data, sorry. If you want, we could patch it into 5.19.4 and tell you whether it worked....
@seamuslee so during upgrade the hook won't run - but the original issue is that during the upgrade a cached version of the available hooks was created that excluded any from ? extensions or drupal modules - I can't recall which - and then they continued to be missing from the cache until a cache clear
Thank you for raising an issue to help improve CiviCRM. As you may know, this issue has not had any activity for quite some time, so we have closed it.
We would like you to help us to determine if this issue should be re-opened:
If this issue was reporting a bug, can you attempt to reproduce it on a latest version of CiviCRM?
If this issue was proposing a new feature, can you verify if the feature proposal is still relevant? Did it get the concept-approved label? Have other people also shown interest? Could it be implemented as an extension?
If the answer to either question is yes, please feel free to comment or re-open the issue. Please also consider:
Is it something that you could help implement, either by sending a patch or hiring someone who can?
Thank you for your help and contributions to CiviCRM.
P.S. This is an automated message, see infra/gitlab issue 20. We understand that automatic responses are annoying, but given the number of open issues as the project evolves, we need a bit of help to triage and prioritise the most relevant issues.