add item match permission

This commit is contained in:
j3d1 2024-01-07 19:53:25 +01:00
parent 0438eb0b6a
commit 6abf3af6c0
2 changed files with 20 additions and 1 deletions

View file

@ -29,7 +29,9 @@ class Item(SoftDeleteModel):
class Meta:
unique_together = (('uid', 'event'),)
permissions = [
('match_item', 'Can match item')
]
class Container(SoftDeleteModel):
cid = models.AutoField(primary_key=True)