Project

General

Profile

Actions

Bug #88988

closed

Tables with "readOnly" set have delete-, copy- and cut-buttons in list view

Added by Harald Glaser over 4 years ago. Updated over 4 years ago.

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

100%

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

Description

When switching a table to readOnly-Mode via "$GLOBALS['TCA']['yourTable']['ctrl']['readOnly'] = 1" editing, deleting and copying items is no longer possible.

If you try to edit the item, there is a warning above the form informing the user, and the save- and delete-buttons are not displayed.
But in contrast when in list view, all buttons are not only visible, but clicking them seems to work as expected - e.g. when clicking on "delete" the prompt "are you sure" is shown and on confirm the item is faded out with the delete-animation: so the user has no chance to notice that the item doesn't really get deleted.

For tables with readOnly set, the related buttons shouldn't be shown in list view. If this is to complicated to achive, there should at least be an error message when clicking on one of them.

Actions

Also available in: Atom PDF