Enable / Disable the form
When passing in "disabled" form, the permissions should be updated to remove the ability to post new records.
Some acceptance criteria:
- A form is active by default
- A form can be deactivated by the form author in the admin dashbaord (Switch on/off Accepting Responses à la Google Forms?)
- A custom message is displayed to the user when a form is inactive
Would it be acceptable to display the same message to an user if the form is disabled or if it does not exist?
You can start with a basic "This form is not available" message and leave the user wondering why but at least you have a first implementation of the feature.
If your store the state of the form, you could be more explicit:
- "This form has been deleted by its author"
- "This form has been deactivated by its author"
The custom message would be a nice to have feature to be able to display a more friendly message like "The call for speaker is now closed, the schedule will be announced shortly"