Feature #87321
closedEdit Record: New Button cannot be disabled for Editors
100%
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).*
Updated by Gerrit Code Review over 5 years ago
- Status changed from New 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/+/61493
Updated by Gerrit Code Review over 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/+/61493
Updated by Gerrit Code Review about 5 years ago
Patch set 3 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/+/61493
Updated by Gerrit Code Review about 5 years ago
Patch set 4 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/+/61493
Updated by Riccardo De Contardi about 5 years ago
- Related to Bug #87129: userTsConfig - options.saveDocNew is not respected in new top buttons added
Updated by Martin Weymayer over 4 years ago
Anyone an idea when this feature will be core function? would also need it!
Updated by Susanne Moog over 4 years ago
- Tracker changed from Bug to Feature
Martin Weymayer wrote:
Anyone an idea when this feature will be core function? would also need it!
As this has been classified as a feature (see also the corresponding review link), we are currently having feature freeze (no new features allowed) for version 10 and the patch is not done, it will not happen before TYPO3 v11 as a core function. Anyone interested is welcome to help finalize and test the patch.
Updated by Andreas Kießling about 4 years ago
Hi,
i think this issue wants to deal with two different "bugs":
a) the new link for records in the EditDocumentController can not be disabled
b) the UI to create new inline records needs an option to insert new records in the top or have a better "something is happening" visualization
a is IMHO a bug, the functionality to disable the "new" button was obviously removed during some refactoring. We also don't really have a "Save and new" button anymore, although the documentation states otherwise https://docs.typo3.org/m/typo3/reference-tsconfig/10.4/en-us/UserTsconfig/Options.html?highlight=disabledelet#savedocnew
As for b: yeah, we should finally tackle this https://forge.typo3.org/issues/24019
Updated by Simon Gilli about 4 years ago
- Related to Bug #92788: Cannot remove the "New" button in EditDocumentController added
Updated by Gerrit Code Review about 4 years ago
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/+/66559
Updated by Gerrit Code Review about 4 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66578
Updated by Gerrit Code Review about 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66579
Updated by Xavier Perseguers about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7877f53abf7b5814ec4667cb977cb6c943812e64.
Updated by Benni Mack almost 4 years ago
- Status changed from Resolved to Closed