wagtail-transfer icon indicating copy to clipboard operation
wagtail-transfer copied to clipboard

403 on getting list of pages

Open mirzadelic opened this issue 3 years ago • 5 comments

I tied with steps on docs but couldn't get list of pages, always getting 403 error.

Problem was that I have:

REST_FRAMEWORK = {
    "DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.IsAuthenticated",)
}

This is actually a problem, when I remove the default permission class it works. But I think this is not good.

permission_classes on this specific view in the wagtail-transfer project can be [] and it will be solved.

Or is there any other solution that can fix this?

Thanks.

mirzadelic avatar Apr 09 '21 12:04 mirzadelic