From 2f4b26999ecb76e8972e6d0a45f50d4b48bcb48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Pi=C3=A9tri?= Date: Sat, 13 Feb 2021 23:24:50 +0100 Subject: [PATCH] fix: :bug: Remove clashes in permissions for the ticket app Permissions clashes of view_* are removed for the ticket app. --- tickets/models.py | 2 -- tickets/preferences/models.py | 1 - 2 files changed, 3 deletions(-) diff --git a/tickets/models.py b/tickets/models.py index bc62e22b..dc25215f 100644 --- a/tickets/models.py +++ b/tickets/models.py @@ -87,7 +87,6 @@ class Ticket(AclMixin, models.Model): request = None class Meta: - permissions = (("view_ticket", _("Can view a ticket object")),) verbose_name = _("ticket") verbose_name_plural = _("tickets") @@ -197,7 +196,6 @@ class CommentTicket(AclMixin, models.Model): request = None class Meta: - permissions = (("view_commentticket", _("Can view a ticket object")),) verbose_name = _("ticket") verbose_name_plural = _("tickets") diff --git a/tickets/preferences/models.py b/tickets/preferences/models.py index 92d8e8c5..aa6bde63 100644 --- a/tickets/preferences/models.py +++ b/tickets/preferences/models.py @@ -44,4 +44,3 @@ class TicketOption(AclMixin, PreferencesModel): class Meta: verbose_name = _("tickets options") - permissions = (("view_ticketoption", _("Can view tickets options")),)