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

pull/2885/head
八千流 5 years ago committed by BaiJiangJie
parent 85d13c03e0
commit 6273e6be9b

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

Loading…
Cancel
Save