Skip to content

Commit

Permalink
fix: vul_log msg record
Browse files Browse the repository at this point in the history
  • Loading branch information
Bidaya0 committed Oct 23, 2023
1 parent 7b7fdfb commit b110cf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dongtai_common/migrations/0036_auto_20230919_1233.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ def update_admin_role(apps, schema_editor):
{"id": 56, "label": "消息通知"},
],
}
IastRoleV2.object.filter(name="管理员", is_admin=True).update(permission=new_admin_permission)
IastRoleV2.object.filter(name="普通用户", is_admin=True).update(permission=new_user_permission)
IastRoleV2.objects.filter(name="管理员", is_admin=True).update(permission=new_admin_permission)
IastRoleV2.objects.filter(name="普通用户", is_admin=True).update(permission=new_user_permission)


class Migration(migrations.Migration):
Expand Down

0 comments on commit b110cf5

Please sign in to comment.