mirror of https://github.com/jumpserver/jumpserver
[Bugfix] 修复用户批量命令View的bug (#2864)
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…
Reference in New Issue