From 8cc7c04b3a59ab4edf04610c13be6a7d3fcd42e3 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Wed, 22 Jun 2022 16:02:31 +0000
Subject: [PATCH] slapos_erp5: drop query module security

---
 master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Query.xml | 2 --
 master/bt5/slapos_erp5/bt/template_local_role_list           | 2 +-
 master/bt5/slapos_erp5/bt/template_portal_type_role_list     | 3 +--
 3 files changed, 2 insertions(+), 5 deletions(-)
 delete mode 100644 master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Query.xml

diff --git a/master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Query.xml b/master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Query.xml
deleted file mode 100644
index 600ebe860..000000000
--- a/master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Query.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<type_roles>
-</type_roles>
\ No newline at end of file
diff --git a/master/bt5/slapos_erp5/bt/template_local_role_list b/master/bt5/slapos_erp5/bt/template_local_role_list
index e5a4f6d16..fb4afb09a 100644
--- a/master/bt5/slapos_erp5/bt/template_local_role_list
+++ b/master/bt5/slapos_erp5/bt/template_local_role_list
@@ -111,4 +111,4 @@ subscription_request_module
 support_request_module
 support_request_module/slapos_crm_support_request_template
 system_event_module
-upgrade_decision_module
\ No newline at end of file
+upgrade_decision_module
diff --git a/master/bt5/slapos_erp5/bt/template_portal_type_role_list b/master/bt5/slapos_erp5/bt/template_portal_type_role_list
index cc13a3a4a..ab8e602c9 100644
--- a/master/bt5/slapos_erp5/bt/template_portal_type_role_list
+++ b/master/bt5/slapos_erp5/bt/template_portal_type_role_list
@@ -82,7 +82,6 @@ Product Module
 Project
 Project Module
 Purchase Invoice Transaction
-Query
 Regularisation Request
 Regularisation Request Module
 Restricted Access Token
@@ -120,4 +119,4 @@ Web Message
 Web Page
 Web Page Module
 Web Table
-Wechat Event
\ No newline at end of file
+Wechat Event
-- 
2.30.9