diff --git a/djangoldp_notification/models.py b/djangoldp_notification/models.py index ce64bbd..8b719ed 100644 --- a/djangoldp_notification/models.py +++ b/djangoldp_notification/models.py @@ -30,8 +30,10 @@ class Notification(Model): class Meta(Model.Meta): #permission_classes = [InboxPermissions] - depth = 0 + auto_author = 'user' ordering = ['-date'] + anonymous_perms = ['add'] + owner_perms = ['view', 'change'] def __str__(self): return '{}'.format(self.type)