From: William Mortada Date: Sun, 3 Dec 2023 17:11:03 +0000 (+0000) Subject: Standalone - give admin role super permission X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c453d1b0961e5bb819d4cabda8e986571b4f06a4;p=civicrm-core.git Standalone - give admin role super permission --- 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');