[TYPO3-core] RFC: Integrate mod.web_list.deniedNewTables as opposite of allowedNewTables

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Jul 11 14:01:41 CEST 2007


Ingo Renner schrieb:
> 
> Am 06.07.2007 um 19:02 schrieb Michael Stucki:
> 
>> REMINDER
>>
>> Oliver Hader schrieb:
>>> This is a SVN patch request.
>>>
>>> Problem:
>>> TSconfig mod.web_list.allowedNewTables allows to define a set of tables
>>> which are allowed as new records on a page. mod.web_list.hideTables
>>> hides existing records on a page to be displayed but doesn't affect
>>> creating new records.
>>>
>>> Solution:
>>> Integrate the opposite of allowedNewTables: mod.web_list.deniedNewTables
> 
> the patch in fact denies the creation of defined tables but I found the 
> following:
> 
> site structure:
> 
> - page A
>   |
>   \-page B
> 
> if I deny tt_news on A and allow it on B I still can't create tt_news on B
> 
> Is this intended?

Depends on the expected priority. In Apache configs you can define the 
order of deny/allow. IMHO deny should have a higher priority by default, so 
  the behaviour is ok. Use removeFromList() if you want tt_news on B.

Masi


More information about the TYPO3-team-core mailing list