mirror of https://github.com/jumpserver/jumpserver
perf: change applet-hosts view default limit
parent
c40bc46520
commit
10da053a95
|
|
@ -30,6 +30,8 @@ class HostMixin:
|
||||||
('retrieve', 'terminal.view_applethost'),
|
('retrieve', 'terminal.view_applethost'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
default_limit = None
|
||||||
|
|
||||||
def get_permissions(self):
|
def get_permissions(self):
|
||||||
if self.kwargs.get('host') and settings.DEBUG:
|
if self.kwargs.get('host') and settings.DEBUG:
|
||||||
return [RBACPermission()]
|
return [RBACPermission()]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue