Skip to content
Snippets Groups Projects
Commit 97e834bc authored by Gaëlle Morin's avatar Gaëlle Morin
Browse files

update: LDPPermissions added

parent 8f4b61d1
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment