docs: def _check_view_permission(self, view):
          """
          :param view: a :class:`ObjectView` class or instance
          """
          security = get_service("security")
          return security.has_permission(current_user, view.permission, self.obj)