[Bugfix] 修复用户批量命令View的bug (#2864)

pull/2885/head
八千流 2019-07-01 17:38:33 +08:00 committed by BaiJiangJie
parent 85d13c03e0
commit 6273e6be9b
1 changed files with 1 additions and 1 deletions

View File

@ -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