Project

General

Profile

Actions

Bug #89388

closed

Add flash message container to "Sorry, you didn't have proper permissions to perform this change." error message

Added by Christian Eßl over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2019-10-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

Updated by Georg Ringer over 4 years ago

  • Assignee set to Christian Eßl
Actions #2

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Gerrit Code Review over 4 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

Actions #4

Updated by Gerrit Code Review over 4 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

Actions #5

Updated by Christian Eßl over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF