hide customer monitoring from non-customer users

This commit is contained in:
yumoqing 2026-06-01 14:57:27 +08:00
parent 9b52cd2e04
commit 40706c4c72

View File

@ -494,8 +494,9 @@
} }
} }
] ]
}, {% endif %}
{ {% if 'owner.*' not in roles %}
,{
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"css": "card", "css": "card",
@ -571,6 +572,7 @@
} }
] ]
} }
{% endif %}
{% if 'owner.*' in roles %} {% if 'owner.*' in roles %}
,{ ,{
"widgettype": "VBox", "widgettype": "VBox",