per: gather account perm (#9723)

Co-authored-by: feng <1304903146@qq.com>
Co-authored-by: feng626 <57284900+feng626@users.noreply.github.com>
This commit is contained in:
fit2bot
2023-02-23 18:08:56 +08:00
committed by GitHub
parent aa81db57b1
commit 9f8900041d
7 changed files with 205 additions and 182 deletions

View File

@@ -1,10 +1,8 @@
from django.utils.translation import ugettext_lazy as _
from django.db import models
from django.utils.translation import ugettext_lazy as _
from orgs.mixins.models import JMSOrgBaseModel
from accounts.const import AutomationTypes
from orgs.mixins.models import JMSOrgBaseModel
from .base import AccountBaseAutomation
__all__ = ['GatherAccountsAutomation', 'GatheredAccount']
@@ -22,7 +20,7 @@ class GatheredAccount(JMSOrgBaseModel):
return self.asset.address
class Meta:
verbose_name = _('Gather account')
verbose_name = _('Gather account automation')
unique_together = [
('username', 'asset'),
]