mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-04 17:01:09 +00:00
[Fixture] 完成用户推送task
This commit is contained in:
@@ -7,9 +7,4 @@ from assets.models import Asset, AssetGroup, SystemUser
|
||||
from assets.serializers import AssetGrantedSerializer, AssetGroupSerializer
|
||||
|
||||
|
||||
def push_system_user(assets, system_user):
|
||||
print('Push system user %s' % system_user.name)
|
||||
for asset in assets:
|
||||
print('\tAsset: %s' % asset.ip)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user