From 54887a3460c6fc175e840f8b07b9dcf972991564 Mon Sep 17 00:00:00 2001 From: jym503558564 <503558564@qq.com> Date: Wed, 20 Nov 2019 17:27:49 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E4=B8=AD=E7=94=A8=E6=88=B7=E7=BB=84?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/users/templates/users/user_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/users/templates/users/user_detail.html b/apps/users/templates/users/user_detail.html index 8e049938c..f8cc0e1d4 100644 --- a/apps/users/templates/users/user_detail.html +++ b/apps/users/templates/users/user_detail.html @@ -212,7 +212,7 @@ - {% if user_object.is_current_org_admin %} + {% if request.user.can_admin_current_org and not user_object.can_audit_current_org%}
{% trans 'User group' %}