Merge branch 'gm-update-permissions' into 'master'
update: LDPPermissions added See merge request startinblox/djangoldp-packages/djangoldp-notifications!14
This commit is contained in:
commit
67bfb200f0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user