From 14e572813fa614159787c0fea32afd9156223cdd Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 21 Apr 2023 11:20:51 +0800 Subject: [PATCH] fix: util add jobauditlog --- utils/clean_db_content_types.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/clean_db_content_types.py b/utils/clean_db_content_types.py index 646a9d051..d67436091 100644 --- a/utils/clean_db_content_types.py +++ b/utils/clean_db_content_types.py @@ -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))