update: LDPPermissions added
This commit is contained in:
parent
8f4b61d163
commit
97e834bcaa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user