Merge pull request #10292 from jumpserver/pr@dev@fix_util

fix: util add jobauditlog
pull/10295/head
老广 2 years ago committed by GitHub
commit 01827c7b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -85,6 +85,11 @@ def clean_db_content_types():
('assets', 'systemuser', 'view_systemuserasset'),
('assets', 'systemuser', 'add_systemuserasset'),
('assets', 'systemuser', 'remove_systemuserasset'),
('ops', 'jobauditlog', 'view_jobauditlog'),
('ops', 'jobauditlog', 'add_jobauditlog'),
('ops', 'jobauditlog', 'change_jobauditlog'),
('ops', 'jobauditlog', 'delete_jobauditlog'),
]
for app, model, codename in permissions_delete_required:
print('delete {}.{} ({})'.format(app, codename, model))

Loading…
Cancel
Save