def METHOD_NAME(apps):
    """
    Grant `delete_submissions` permission to everyone at the model level
    """
    User = apps.get_model('auth', 'User')  # noqa
    Permission = apps.get_model('auth', 'Permission')  # noqa
    ThroughModel = User.user_permissions.through  # noqa
    permission = Permission.objects.get(
        content_type__app_label='logger', codename='delete_data_xform'
    )
    user_ids = User.objects.values_list('pk', flat=True).exclude(
        pk=AnonymousUser().pk
    )
    through_models = []
    for user_id in user_ids:
        through_models.append(
            ThroughModel(user_id=user_id, permission_id=permission.pk)
        )
    sys.stderr.write(
        'Creating {} model-level permission assignments...\n'.format(
            len(through_models)
        )
    )
    sys.stderr.flush()
    # Django 1.8 does not support `ignore_conflicts=True`
    ThroughModel.objects.bulk_create(through_models)