Issue Bug Closed

#20308typo3/db_new.php prompts to create records in hidden, static and readonly tables

Dmitry Dulepov 04/13/09, 11:26 updated 08/06/10, 13:29

Description

If a table is marked as hidden or static or readonly, new record wizard (typo3/db_new.php) still prompts to create an entry there. Such tables should not be visible in the new record wizard at all.

Example setup for the table:

$TCA['tx_rsaauth_keys'] = array (
    'ctrl' => array (
        'adminOnly' => true,
        'hideTable' => true,
        'is_static' => true,
        'label' => 'uid',
        'readOnly' => true,
        'rootLevel' => 1,
        'title' => 'Hidden, static and read-only table'
    ),
    'columns' => array(
    ),
    'types' => array(
        '0' => array(
            'showitem' => ''
        )
    )
);

(issue imported from #M10897)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.