CRM_Core_Permission_List - Tweak labels for `*always allow*` and `*always deny*`
authorTim Otten <totten@civicrm.org>
Fri, 5 Feb 2021 00:49:33 +0000 (16:49 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 5 Feb 2021 01:33:27 +0000 (17:33 -0800)
CRM/Core/Permission/List.php

index d23ad5091c2f020976106c7021c0082d32f681b5..5138286303d2e7437eca7e4baf0e285f214df914 100644 (file)
@@ -86,12 +86,12 @@ class CRM_Core_Permission_List {
     // There are a handful of special permissions defined in CRM/Core/Permission.
     $e->permissions[\CRM_Core_Permission::ALWAYS_DENY_PERMISSION] = [
       'group' => 'const',
-      'title' => ts('Constant: Always deny'),
+      'title' => ts('Generic: Deny all users'),
       'is_synthetic' => TRUE,
     ];
     $e->permissions[\CRM_Core_Permission::ALWAYS_ALLOW_PERMISSION] = [
       'group' => 'const',
-      'title' => ts('Constant: Always allow'),
+      'title' => ts('Generic: Allow all users (including anonymous)'),
       'is_synthetic' => TRUE,
     ];
   }