fix: util add jobauditlog

pull/10292/head
Bai 2023-04-21 11:20:51 +08:00
parent 10b033ee97
commit 14e572813f
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))