From de9c75f8dcbc34fd96d4c68e6031ef9629568099 Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Wed, 5 Jul 2023 17:52:40 -0600 Subject: [PATCH] Don't remove core component permissions when disabled --- CRM/Core/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index 2aa80a0cfe..29719a59c6 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -290,7 +290,7 @@ class CRM_Core_Config extends CRM_Core_Config_MagicMerge { if ($this->userPermissionClass->isModulePermissionSupported()) { // Can store permissions -- so do it! $this->userPermissionClass->upgradePermissions( - CRM_Core_Permission::basicPermissions() + CRM_Core_Permission::basicPermissions(TRUE) ); } elseif (get_class($this->userPermissionClass) !== 'CRM_Core_Permission_UnitTests') { -- 2.25.1