[BUGFIX] Access to sys_files is incompatible to fe_access checks 87/25987/3
authorSteffen Ritter <info@rs-websystems.de>
Sat, 7 Dec 2013 08:22:59 +0000 (09:22 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 18 Dec 2013 14:45:07 +0000 (15:45 +0100)
commit3cdab9df155082cb4a93a28f1c1a76d811dd9875
treeffc9722fa98e1aa1e9dfa935656bf13d5eb381c4
parentfc69656916adb67de29431598cce2112c1fb6416
[BUGFIX] Access to sys_files is incompatible to fe_access checks

The system extension filemetadata adds access restriction fields
for selecting frontend user groups as known from tt_content or
pages. Behind the scenes of the TCEform this relation is stored
in a MM table which is incompatible to the usual access checks.

In addition a opposite relation is added to fe_groups which
queries all files to show in a selector.

This change removes the MM table and reconfigures the fe_groups
field in the same way as it is done for tt_content and pages.

Resolves: #54236
Resolves: #54237
Releases: 6.2
Change-Id: I8a05073dee9e57e48335e1fe2a3917313563ac7d
Reviewed-on: https://review.typo3.org/25987
Reviewed-by: Markus Klein
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Frans Saris
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/filemetadata/Configuration/TCA/fe_groups.php [deleted file]
typo3/sysext/filemetadata/Configuration/TCA/sys_file_metadata.php
typo3/sysext/filemetadata/ext_tables.sql