From c453d1b0961e5bb819d4cabda8e986571b4f06a4 Mon Sep 17 00:00:00 2001 From: William Mortada Date: Sun, 3 Dec 2023 17:11:03 +0000 Subject: [PATCH] Standalone - give admin role super permission --- setup/plugins/init/StandaloneUsers.civi-setup.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/plugins/init/StandaloneUsers.civi-setup.php b/setup/plugins/init/StandaloneUsers.civi-setup.php index bea9782cd0..0bc37d8f2e 100644 --- a/setup/plugins/init/StandaloneUsers.civi-setup.php +++ b/setup/plugins/init/StandaloneUsers.civi-setup.php @@ -149,7 +149,9 @@ if (!defined('CIVI_SETUP')) { [ 'name' => 'admin', 'label' => ts('Administrator'), - 'permissions' => array_keys(\CRM_Core_SelectValues::permissions()), + 'permissions' => [ + 'all CiviCRM permissions and ACLs', + ], ], ]) ->execute()->indexBy('name'); -- 2.25.1