def get_default_queryset(self):
        node = self.get_node()
        visible_contributors = set(node.visible_contributor_ids)
        contributors = []
        for contributor in node.contributors:
            contributor.bibliographic = contributor._id in visible_contributors
            contributor.permission = node.get_permissions(contributor)[-1]
            contributor.node_id = node._id
            contributors.append(contributor)
        return contributors

    # overrides ListBulkCreateJSONAPIView, BulkUpdateJSONAPIView, BulkDeleteJSONAPIView
dataset/ETHPy150Open CenterForOpenScience/osf.io/api/nodes/views.py/NodeContributorsList.get_default_queryset/original