perf: 修改 Connect acl

This commit is contained in:
ibuler
2022-12-02 12:27:26 +08:00
parent 6390b9c203
commit 61e6ab20a2
6 changed files with 21 additions and 61 deletions

View File

@@ -24,6 +24,7 @@ class CommandGroup(JMSOrgBaseModel):
type = models.CharField(max_length=16, default=Type.command, choices=Type.choices, verbose_name=_("Type"))
content = models.TextField(verbose_name=_("Content"), help_text=_("One line one command"))
ignore_case = models.BooleanField(default=True, verbose_name=_('Ignore case'))
comment = models.TextField(blank=True, verbose_name=_("Comment"))
class Meta:
unique_together = [('org_id', 'name')]