Project

General

Profile

Actions

Feature #87321

closed

Edit Record: New Button cannot be disabled for Editors

Added by Benny Schimmer almost 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-01-03
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

There is no option anymore in TYPO3 9 LTS to disable the "new" Button when editing records.

In TYPO3 8 there was the option to disable it using tsconfig: options.saveDocNew.my_table = 0.
The Delete Button can be disabled in v9 using options.disableDelete.my_table = 1

In v9 there is a new "New" Button which cannot be disabled for editors using tsconfig.
It is registered in backend/Classes/EditDocumentController->registerNewButtonToButtonBar.

My Scenario:
I want a master editor to be able to create specific records, but normal editors should only be able to edit existing records, not add new records.
In Listview this can be configured vi mod.web_list.allowedNewTables, but in the edit record view its still possible to add new records.
My records have IRRE-Records inside, and if the Editor adds a lot of IRRE-Records, the "Add new Record" Link is out of his view port, so they oftne accidently lick the "new" Button on top, which creates a new record instead of a new IRRE-Record.

I would suggest to add an tsconfig Option similar to the delete Button (options.disableNew.my_table = 1).*


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #87129: userTsConfig - options.saveDocNew is not respected in new top buttonsClosed2018-12-11

Actions
Related to TYPO3 Core - Bug #92788: Cannot remove the "New" button in EditDocumentControllerClosed2020-11-07

Actions
Actions

Also available in: Atom PDF