Merge pull request #12085 from seamuslee001/pledge_search_form_test
[civicrm-core.git] / CRM / Core / Permission.php
index 36165e1da43a87b99a551b454cd49f2e489492dc..ce7d2b2bd6e47eb43d605f15d6fa9d83955252f2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2018                                |
  +--------------------------------------------------------------------+
@@ -724,7 +724,7 @@ class CRM_Core_Permission {
       ),
       'skip IDS check' => array(
         $prefix . ts('skip IDS check'),
-        ts('IDS system is bypassed for users with this permission. Prevents false errors for admin users.'),
+        ts('Warning: Give to trusted roles only; this permission has security implications. IDS system is bypassed for users with this permission. Prevents false errors for admin users.'),
       ),
       'access uploaded files' => array(
         $prefix . ts('access uploaded files'),
@@ -732,21 +732,23 @@ class CRM_Core_Permission {
       ),
       'profile listings and forms' => array(
         $prefix . ts('profile listings and forms'),
-        ts('Access the profile Search form and listings'),
+        ts('Warning: Give to trusted roles only; this permission has privacy implications. Add/edit data in online forms and access public searchable directories.'),
       ),
       'profile listings' => array(
         $prefix . ts('profile listings'),
+        ts('Warning: Give to trusted roles only; this permission has privacy implications. Access public searchable directories.'),
       ),
       'profile create' => array(
         $prefix . ts('profile create'),
-        ts('Use profiles in Create mode'),
+        ts('Add data in a profile form.'),
       ),
       'profile edit' => array(
         $prefix . ts('profile edit'),
-        ts('Use profiles in Edit mode'),
+        ts('Edit data in a profile form.'),
       ),
       'profile view' => array(
         $prefix . ts('profile view'),
+        ts('View data in a profile.'),
       ),
       'access all custom data' => array(
         $prefix . ts('access all custom data'),
@@ -760,8 +762,8 @@ class CRM_Core_Permission {
         $prefix . ts('Delete activities'),
       ),
       'access CiviCRM' => array(
-        $prefix . ts('access CiviCRM'),
-        ts('Master control for access to the main CiviCRM backend and API'),
+        $prefix . ts('access CiviCRM backend and API'),
+        ts('Master control for access to the main CiviCRM backend and API. Give to trusted roles only.'),
       ),
       'access Contact Dashboard' => array(
         $prefix . ts('access Contact Dashboard'),
@@ -889,6 +891,10 @@ class CRM_Core_Permission {
         $prefix . ts('edit own api keys'),
         ts('Edit user\'s own API keys'),
       ),
+      'send SMS' => array(
+        $prefix . ts('send SMS'),
+        ts('Send an SMS'),
+      ),
     );
 
     return $permissions;