Remove SubscriberMixin

This commit is contained in:
imperosol 2025-01-13 15:57:01 +01:00
parent 551091f650
commit e500cf92ee

View File

@ -208,13 +208,6 @@ class FormerSubscriberMixin(AccessMixin):
return super().dispatch(request, *args, **kwargs)
class SubscriberMixin(AccessMixin):
def dispatch(self, request, *args, **kwargs):
if not request.user.is_subscribed:
return self.handle_no_permission()
return super().dispatch(request, *args, **kwargs)
class PermissionOrAuthorRequiredMixin(PermissionRequiredMixin):
"""Require that the user has the required perm or is the object author.