bugfix: add permissions
This commit is contained in:
parent
fe98c26b5a
commit
41f15006db
@ -2,9 +2,9 @@
|
||||
from django.conf.urls import url
|
||||
from .models import Notification, Subscription
|
||||
from djangoldp.views import LDPViewSet
|
||||
#from djangoldp.permissions import InboxPermissions
|
||||
from djangoldp.permissions import InboxPermissions
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^notifications/', LDPViewSet.urls(model=Notification)),# permissions_classes=(InboxPermissions,),)),
|
||||
url(r'^notifications/', LDPViewSet.urls(model=Notification, permission_classes=(InboxPermissions,))),
|
||||
url(r'^subscriptions/', LDPViewSet.urls(model=Subscription)),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user