def METHOD_NAME(self, request, obj=None, **kwargs):
    formset = super().METHOD_NAME(request, obj, **kwargs)
    if obj and obj.allowuseroptions:
        formset.form.base_fields['state'].choices = [
            c
            for c in formset.form.base_fields['state'].choices
            if c[0] in [obj.state, 'PENDING', 'DENIED']
        ]
    return formset