From 66f588cd809d3abd6adca3e0526ead03c7a432e8 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 1 Jun 2026 15:28:36 +0800 Subject: [PATCH] add reseller.* role support alongside owner.* --- wwwroot/index.ui | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 394b69d..1c791da 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -61,7 +61,7 @@ } ] } - {% if 'owner.*' in roles %} + {% if 'owner.*' in roles or 'reseller.*' in roles %} ,{ "widgettype": "ResponsableBox", "options": { @@ -556,7 +556,7 @@ ] } {% endif %} - {% if 'owner.*' not in roles and 'customer.*' in roles %} + {% if 'owner.*' not in roles and 'reseller.*' not in roles and 'customer.*' in roles %} ,{ "widgettype": "VBox", "options": { @@ -634,7 +634,7 @@ ] } {% endif %} - {% if 'owner.*' in roles %} + {% if 'owner.*' in roles or 'reseller.*' in roles %} ,{ "widgettype": "VBox", "options": {