<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filter_queryset(self, request, queryset, view):
 """ Filter out any artifacts which the requesting user does not have permission to view. """

        if request.user.is_superuser:
            return queryset
        return queryset.filter(status__user=request.user)