Project

General

Profile

Actions

Bug #20308

closed

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

Added by Dmitry Dulepov over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-04-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

10897.diff (944 Bytes) 10897.diff Administrator Admin, 2009-10-14 21:36

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20309: typo3/db_new.php shows tables under another extension nameClosed2009-04-13

Actions
Actions #1

Updated by Steffen Kamper about 15 years ago

committed to trunk, rev 6164

Actions

Also available in: Atom PDF