Bug #89388
closedAdd flash message container to "Sorry, you didn't have proper permissions to perform this change." error message
100%
Description
If a normal editor tries to edit a record which he has no reason to, the EditFormController will show an error message like:
Sorry, you didn't have proper permissions to perform this change.
ERROR: Language was not allowed.
Unlike most other parts of the backend, this error is currently shown as plain text and not with an error flashmessage container (like the one used in InfoboxViewHelper)
As EditFormController does not use fluid at all, using the InfoboxViewHelper is not viable here. - I would just write a simple Helper-Function for wrapping the errors in a flash message html container.
Updated by Gerrit Code Review about 5 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61957
Updated by Gerrit Code Review about 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61957
Updated by Christian Eßl about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2e91d9a3f8ca8be0dabd231d488ff814587505b4.