I have
from rest_framework import permissions class CheckPermission(permissions.BasePermission): def has_permission(self, request, view): # acce