mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-15 14:58:42 +00:00
perf: change applet-hosts view default limit
This commit is contained in:
@@ -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()]
|
||||||
|
Reference in New Issue
Block a user