Project

General

Profile

Actions

Feature #98191

open

Add mod.web_list.table.[tableName].deniedNew

Added by JAKOTA Design Group GmbH over 1 year ago. Updated about 1 year ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
TypoScript
Start date:
2022-08-23
Due date:
% Done:

0%

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

Description

Hi,

It would be great if deniedNew could be added to mod.web_list.table.[tableName].

This would make it easier to fine tune what is shown to the user in different sections of the page tree.

I would like to hide all tables for my extension by default and override this setting if needed.

But with mod.web_list.deniedNewTables this is no easy task because is just a string.

It is also kinda possible with be groups but I would like to have this kind of settings in git as a file.

Thanks

Actions #1

Updated by Oliver Hader over 1 year ago

  • Status changed from New to Needs Feedback

What about using addToList or removeFromList modifiers?
(see https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/Configuration/TypoScriptSyntax/Syntax/TypoScriptSyntax.html#value-modifications-the-operator)

mod.web_list.deniedNewTables := addToList(tx_extension_first_table)
Actions #2

Updated by JAKOTA Design Group GmbH over 1 year ago

Thank you for that.

I somehow overlooked those modifiers.

Maybe it would be a good idea to add a note here?
https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/PageTsconfig/Mod.html#pagetsconfigweblistallowednewtables

But anyway, this works as expected.

Thanks again

Actions #3

Updated by JAKOTA Design Group GmbH over 1 year ago

Quick side note, this only works if no other ext overrides the deniedNewTables just by setting it.

Something like mod.web_list.table.[tableName].deniedNew would still be a better way.

Actions #4

Updated by Gerrit Code Review about 1 year ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78164

Actions #5

Updated by JAKOTA Design Group GmbH about 1 year ago

  • Category set to TypoScript
  • Target version set to 12.3
Actions #6

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78164

Actions #7

Updated by Benni Mack about 1 year ago

  • Target version changed from 12.3 to 12 LTS
Actions #8

Updated by Benni Mack about 1 year ago

  • Target version changed from 12 LTS to Candidate for Major Version
Actions

Also available in: Atom PDF