move mesh control into mesh module and add permissions

This commit is contained in:
Laura Klünder 2023-11-09 15:52:55 +01:00
parent ce8f5f0084
commit 88d6f07eaf
27 changed files with 504 additions and 432 deletions

View file

@ -35,6 +35,8 @@ class UserPermissions(models.Model):
limit_choices_to={'access_restriction': None},
verbose_name=_('can review reports belonging to'))
mesh_control = models.BooleanField(default=False, verbose_name=_('can access mesh control'))
api_secret = models.CharField(null=True, blank=True, max_length=64, verbose_name=_('API secret'))
class Meta: