From ff0c03c6ae752626732942c0df349f7cff28c200 Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Mon, 3 Jul 2023 11:28:10 +0100 Subject: [PATCH] standalone: hide everyone role from UI --- ext/standaloneusers/CRM/Standaloneusers/DAO/User.php | 3 ++- ext/standaloneusers/xml/schema/CRM/Standaloneusers/User.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/standaloneusers/CRM/Standaloneusers/DAO/User.php b/ext/standaloneusers/CRM/Standaloneusers/DAO/User.php index d41f9d64c7..d814534a78 100644 --- a/ext/standaloneusers/CRM/Standaloneusers/DAO/User.php +++ b/ext/standaloneusers/CRM/Standaloneusers/DAO/User.php @@ -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, ], diff --git a/ext/standaloneusers/xml/schema/CRM/Standaloneusers/User.xml b/ext/standaloneusers/xml/schema/CRM/Standaloneusers/User.xml index 8c199292aa..4cb23909f5 100644 --- a/ext/standaloneusers/xml/schema/CRM/Standaloneusers/User.xml +++ b/ext/standaloneusers/xml/schema/CRM/Standaloneusers/User.xml @@ -86,6 +86,7 @@ id label name + name != "everyone" Select -- 2.25.1