docs: def perform_create(self, serializer):
          """Create a resource."""
          with transaction.atomic():
              instance = serializer.save()
  
              # Assign all permissions to the object contributor.
              assign_contributor_permissions(instance)