From 6273e6be9b244f50c793c07f90e2417be2a0aa22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AB=E5=8D=83=E6=B5=81?= <40739051+jym503558564@users.noreply.github.com> Date: Mon, 1 Jul 2019 17:38:33 +0800 Subject: [PATCH] =?UTF-8?q?[Bugfix]=20=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=91=BD=E4=BB=A4View=E7=9A=84bug=20(#2864)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ops/views/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ops/views/command.py b/apps/ops/views/command.py index 15e887351..a825464fc 100644 --- a/apps/ops/views/command.py +++ b/apps/ops/views/command.py @@ -62,7 +62,7 @@ class CommandExecutionStartView(PermissionsMixin, TemplateView): def get_permissions(self): if not settings.SECURITY_COMMAND_EXECUTION: return [IsOrgAdmin] - return super().permission_classes() + return super().get_permissions() def get_user_system_users(self): from perms.utils import AssetPermissionUtil