Skip to content
Snippets Groups Projects
Commit 67bfb200 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

Merge branch 'gm-update-permissions' into 'master'

update: LDPPermissions added

See merge request startinblox/djangoldp-packages/djangoldp-notifications!14
parents 8f4b61d1 5dcfb479
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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