Review main Abandoned

17215[BUGFIX] Respect ignoreRootLevelRestriction in getExcludeFields

Lorenz Ulrich CR 0 V 0 Easy +1 −1 updated 06/03/13, 20:49

Commit message

For TYPO3 6.0 a new TCA security configuration

$TCA[$table]['security']['ignoreRootLevelRestriction']

was introduced together with the introduction of FAL. Before it was not
possible for a normal user to edit records with pid 0, but because FAL
saves sys_file and sys_file_reference records on pid 0, a new solution
was needed.

This must also be respected by
\TYPO3\CMS\Backend\Utility\BackendUtility:getExcludeFields
If not, it is not possible to define exclude fields for such tables
(e.g. field "link" in sys_file_reference).

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 1