feat: Disabling MRF for Forms with SingPass #7200
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Currently Singpass is not compatible with MRF, and if someone shares a form that is SingPass enabled, it could cause the form to break when someone submits the MRF form. We should prevent users from duplicating forms that are singpass enabled to MRF to prevent errors that could occur downstream (at least until singpass features are built for MRF)
Closes FRM-1676
Solution
If a user duplicates an email/ storage-mode form that is SingPass enabled to an MRF, the option for MRF should be disabled to prevent the user from duplicating the form until the SingPass settings are disabled.
Breaking Changes
Before & After Screenshots
Without SingPass or creating a new form:
If SingPass is enabled:
Manual Tests
Creating a new form
Duplicating a form without SingPass
Duplicating a form with SingPass