diff --git a/djangoldp_notification/models.py b/djangoldp_notification/models.py index 761c425bc293a8f55333f5ec86763d6b8e2069b6..2bbc35bbc00c05460ff01cf35ea406a5e2196327 100644 --- a/djangoldp_notification/models.py +++ b/djangoldp_notification/models.py @@ -28,11 +28,11 @@ class Notification(Model): unread = models.BooleanField(default=True) class Meta(Model.Meta): - auto_author = 'user' + owner_field = 'user' ordering = ['-date'] anonymous_perms = ['add'] - authenticated_perms = [] - owner_perms = ['view', 'change'] + authenticated_perms = ['inherit'] + owner_perms = ['view', 'change', 'control'] def __str__(self): return '{}'.format(self.type)