From b16811a15c4bd27a4212f26c015d929f18abdd6c Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Mon, 4 Mar 2024 11:34:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90=E6=9D=83=E9=99=90=E3=80=91zyyt?= =?UTF-8?q?est=E7=94=A8=E6=88=B7=E5=8F=AA=E6=9C=89=20DataEase=20=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E4=BD=BF=E7=94=A8=E6=9D=83=E9=99=90=EF=BC=8C?= =?UTF-8?q?=E4=BD=86=E6=98=AF=E8=83=BD=E5=AF=B9=E5=BA=94=E7=94=A8=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/application/views/application_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application/views/application_views.py b/apps/application/views/application_views.py index 0b369f011..8fde8fad4 100644 --- a/apps/application/views/application_views.py +++ b/apps/application/views/application_views.py @@ -243,7 +243,7 @@ class Application(APIView): tags=['应用']) @has_permissions(ViewPermission( [RoleConstants.ADMIN, RoleConstants.USER], - [lambda r, keywords: Permission(group=Group.APPLICATION, operate=Operate.USE, + [lambda r, keywords: Permission(group=Group.APPLICATION, operate=Operate.MANAGE, dynamic_tag=keywords.get('application_id'))], compare=CompareConstants.AND)) def put(self, request: Request, application_id: str):