perf: Edit rbac perms (#13468)

Co-authored-by: feng <1304903146@qq.com>
Co-authored-by: feng626 <57284900+feng626@users.noreply.github.com>
This commit is contained in:
fit2bot
2024-06-21 19:08:37 +08:00
committed by GitHub
parent 407a77f61b
commit ae7dbbedcc
11 changed files with 124 additions and 123 deletions

View File

@@ -1,10 +1,12 @@
# Generated by Django 4.1.13 on 2024-05-09 03:16
import uuid
import simple_history.models
from django.db import migrations, models
import common.db.encoder
import common.db.fields
from django.db import migrations, models
import simple_history.models
import uuid
class Migration(migrations.Migration):
@@ -147,7 +149,7 @@ class Migration(migrations.Migration):
('address_last_login', models.CharField(default='', max_length=39, verbose_name='Address login')),
],
options={
'verbose_name': 'Gather account automation',
'verbose_name': 'Gather asset accounts',
'ordering': ['asset'],
},
),

View File

@@ -1,8 +1,9 @@
# Generated by Django 4.1.13 on 2024-05-09 03:16
import common.db.fields
from django.db import migrations, models
import django.db.models.deletion
from django.db import migrations, models
import common.db.fields
class Migration(migrations.Migration):
@@ -63,7 +64,7 @@ class Migration(migrations.Migration):
('is_sync_account', models.BooleanField(blank=True, default=False, verbose_name='Is sync account')),
],
options={
'verbose_name': 'Gather asset accounts',
'verbose_name': 'Gather account automation',
},
bases=('accounts.accountbaseautomation',),
),

View File

@@ -41,7 +41,7 @@ class GatheredAccount(JMSOrgBaseModel):
Account.objects.bulk_create(account_objs)
class Meta:
verbose_name = _('Gather account automation')
verbose_name = _("Gather asset accounts")
unique_together = [
('username', 'asset'),
]
@@ -72,4 +72,4 @@ class GatherAccountsAutomation(AccountBaseAutomation):
super().save(*args, **kwargs)
class Meta:
verbose_name = _("Gather asset accounts")
verbose_name = _('Gather account automation')