Merge pull request #20214 from ixiam/dev#issue_2584
[civicrm-core.git] / CRM / Core / Permission / Drupal8.php
index 65112da464650424e1ba2cb7fdf8c2377d5ab9b3..add83a00f3378e093099787d68dbb90e3279af55 100644 (file)
@@ -109,6 +109,7 @@ class CRM_Core_Permission_Drupal8 extends CRM_Core_Permission_DrupalBase {
    * @inheritDoc
    */
   public function upgradePermissions($permissions) {
+    // @todo - this should probably call getCoreAndComponentPermissions.
     $civicrm_perms = array_keys(CRM_Core_Permission::getCorePermissions());
     if (empty($civicrm_perms)) {
       throw new CRM_Core_Exception("Cannot upgrade permissions: permission list missing");