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

fix: util add jobauditlog
pull/10295/head
老广 2023-04-21 11:28:46 +08:00 committed by GitHub
commit 01827c7b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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))