Enhancement: support owner permissions for file tasks (#8195)

This commit is contained in:
shamoon authored and GitHub committed 2024-11-20 20:25:53 +00:00
1 parent 9c1561adfb
commit 8bfe68743d
15 files changed
+112 -27

No files matched your search

+1 -1
View File
@@ -641,7 +641,7 @@ class UiSettings(models.Model):
return self.user.username
class PaperlessTask(models.Model):
class PaperlessTask(ModelWithOwner):
ALL_STATES = sorted(states.ALL_STATES)
TASK_STATE_CHOICES = sorted(zip(ALL_STATES, ALL_STATES))