code: def has_permission(self, request, view):
          
          course_key = CourseKey.from_string(view.kwargs.get('course_id'))
          jwt_filters = decode_jwt_filters(request.auth)
          for filter_type, filter_value in jwt_filters:
              if filter_type == 'content_org' and filter_value == course_key.org:
                  return True
          log.warning(
              u"Permission JwtHasContentOrgFilterForRequestedCourse: no filter found for %s.",
              course_key.org,
          )
          return False
docs: Ensure that the course_id kwarg provided to the view contains one
          of the organizations specified in the content provider filters
          in the JWT used to authenticate.