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