mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-13 05:49:07 +00:00
fix: 给 view 增加 export 属性 (#10495)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -32,6 +32,7 @@ class AccountViewSet(OrgBulkModelViewSet):
|
||||
'su_from_accounts': 'accounts.view_account',
|
||||
'clear_secret': 'accounts.change_account',
|
||||
}
|
||||
export_as_zip = True
|
||||
|
||||
@action(methods=['get'], detail=False, url_path='su-from-accounts')
|
||||
def su_from_accounts(self, request, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user