Standalone - give admin role super permission
authorWilliam Mortada <williammortada@thirdsectordesign.org>
Sun, 3 Dec 2023 17:11:03 +0000 (17:11 +0000)
committerWilliam Mortada <williammortada@thirdsectordesign.org>
Sun, 3 Dec 2023 17:11:03 +0000 (17:11 +0000)
setup/plugins/init/StandaloneUsers.civi-setup.php

index bea9782cd0cc68ade5098ede4de48dbcb18e82b6..0bc37d8f2ea3e4f1a686e52a2ed8b4664c89a84c 100644 (file)
@@ -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');