Affects Version/s: forms.liferay.com, Master
Steps to reproduce:
- Go to Content > Forms
- Add a Form
- Add a Text field
- Save and Publish form
- Go back to Content > Forms
- Change permissions of the form you just created
- Uncheck "Add form instance record" permission for every role
- Copy Form URL and open it in an anonymous tab, so you will be a guest user
- Try to submit the form
Submit button should be hidden or a toast message should warn the use he/she cannot add a form entry, avoiding him or her to lose their time filling the form. The correct behavior should be defined by the product designer.
The user is only warned that he/she does not have permission to submit the entry after pressing the submit button, and the error message is not clear.