allowed

allowed
Type:string (list)
Scope:Proc. / Display
InternalType:db

A comma list of tables from $GLOBALS['TCA'], for example “pages,be_users”.

Note

If the field is the foreign side of a bidirectional MM relation, only the first table is used and that must be the table of the records on the native side of the relation.

Note

When using Extbase, you also need to fill foreign_table property with the same table name as used in allowed property (but with just one table name).

Examples

Group relation to be_groups and be_users

../../../../_images/GroupDb1.png
'columns' => [
    'group_db_1' => [
        'exclude' => 1,
        'label' => 'group_db_1 allowed=be_users,be_groups description',
        'description' => 'field description',
        'config' => [
            'type' => 'group',
            'internal_type' => 'db',
            'allowed' => 'be_users,be_groups',
            'fieldControl' => [
                'editPopup' => [
                    'disabled' => false,
                ],
                'addRecord' => [
                    'disabled' => false,
                ],
                'listModule' => [
                    'disabled' => false,
                ],
            ],
        ],
    ],
]