def METHOD_NAME(self, request, queryset: QuerySet[Permission]):
    for perm in queryset:
        content_type: ContentType = perm.content_type
        if content_type.model_class() is None:
            continue
        try:
            prefix, perm_name, model = perm.name.split(maxsplit=2)
        except:
            continue
        model = content_type.name
        perm.name = ' '.join([prefix, perm_name, model])
        perm.save(update_fields=['name'])
    return self.message_user(request, '操作成功')