perf: change applet-hosts view default limit

pull/16022/head
Eric 2025-09-12 17:32:33 +08:00 committed by Bryan
parent c40bc46520
commit 10da053a95
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ class HostMixin:
('retrieve', 'terminal.view_applethost'),
)
default_limit = None
def get_permissions(self):
if self.kwargs.get('host') and settings.DEBUG:
return [RBACPermission()]