Skip to content

Error when adding InboxPermissions in a model

When I add this to the Meta of a model:

permission_classes = [InboxPermissions]

I have an error when I access one resource (it works fine with the container)

TypeError at /notifications/1/
has_object_permission() missing 1 required positional argument: 'obj'

You can see it here: https://test-paris.happy-dev.fr/notifications/1/
and with the l.33 of djangoldp_notification