Cannot save EligibilityVerifier
without providing an AuthProvider
#1977
Labels
bug
Something isn't working
EligibilityVerifier
without providing an AuthProvider
#1977
(Prompted by post-merge steps for #1970)
Intended behavior is that an
EligibilityVerifier
can exist without anAuthProvider
. However, currently it is not possible to save one in that state from the admin interface.The reason why we have existing
EligibilityVerifier
s with noauth_provider
is because they were created externally rather than through the admin interface (see #1856 for notes on that process).To Reproduce
Steps to reproduce the behavior:
/admin
Name
)Auth provider
field is requiredExpected behavior
The eligibility verifier is saved with the update you made.
Screenshots
Expand to see
Additional context
auth_provider = models.ForeignKey(AuthProvider, on_delete=models.PROTECT, null=True)
Field.blank
Field.null
ForeignKey.on_delete
Whether as a part of this issue or a separate one, we should go through and make sure all our model fields work as intended from the admin interface.
The text was updated successfully, but these errors were encountered: