diff --git a/djangoldp_notification/models.py b/djangoldp_notification/models.py index 761c425..2bbc35b 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)