standalone: hide everyone role from UI
authorRich Lott / Artful Robot <code.commits@artfulrobot.uk>
Mon, 3 Jul 2023 10:28:10 +0000 (11:28 +0100)
committerRich Lott / Artful Robot <code.commits@artfulrobot.uk>
Mon, 3 Jul 2023 10:28:10 +0000 (11:28 +0100)
ext/standaloneusers/CRM/Standaloneusers/DAO/User.php
ext/standaloneusers/xml/schema/CRM/Standaloneusers/User.xml

index d41f9d64c7534e580e0459e3691aa0c55e87c352..d814534a78c4553efb42d21ce47c33db708bf562 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from standaloneusers/xml/schema/CRM/Standaloneusers/User.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8b4f87b26bd48490757533b57378e33d)
+ * (GenCodeChecksum:44014e10073e5e7f63059f09956e77ca)
  */
 use CRM_Standaloneusers_ExtensionUtil as E;
 
@@ -324,6 +324,7 @@ class CRM_Standaloneusers_DAO_User extends CRM_Core_DAO {
             'keyColumn' => 'id',
             'labelColumn' => 'label',
             'nameColumn' => 'name',
+            'condition' => 'name != "everyone"',
           ],
           'add' => NULL,
         ],
index 8c199292aabb1fb96e31c9c13d60198fd37f457c..4cb23909f55690a786b5d38e9c97ef1b9488f41f 100644 (file)
@@ -86,6 +86,7 @@
       <keyColumn>id</keyColumn>
       <labelColumn>label</labelColumn>
       <nameColumn>name</nameColumn>
+      <condition>name != "everyone"</condition>
     </pseudoconstant>
     <html>
       <type>Select</type>