From 12390826493ca53f8298ff3e3a54f5411f79900c Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Tue, 24 Oct 2023 14:07:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20change=20secret=20perm=20=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E7=94=9F=E6=88=90=20(#11948)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng <1304903146@qq.com> --- .../0017_alter_automationexecution_options.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 apps/accounts/migrations/0017_alter_automationexecution_options.py diff --git a/apps/accounts/migrations/0017_alter_automationexecution_options.py b/apps/accounts/migrations/0017_alter_automationexecution_options.py new file mode 100644 index 000000000..a1f9f4dbb --- /dev/null +++ b/apps/accounts/migrations/0017_alter_automationexecution_options.py @@ -0,0 +1,25 @@ +# Generated by Django 4.1.10 on 2023-10-24 05:59 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ('accounts', '0016_accounttemplate_password_rules'), + ] + + operations = [ + migrations.AlterModelOptions( + name='automationexecution', + options={ + 'permissions': [ + ('view_changesecretexecution', 'Can view change secret execution'), + ('add_changesecretexecution', 'Can add change secret execution'), + ('view_gatheraccountsexecution', 'Can view gather accounts execution'), + ('add_gatheraccountsexecution', 'Can add gather accounts execution'), + ('view_pushaccountexecution', 'Can view push account execution'), + ('add_pushaccountexecution', 'Can add push account execution') + ], + 'verbose_name': 'Automation execution', 'verbose_name_plural': 'Automation executions'}, + ), + ]