[FEATURE] Split file permission for be_users and be_groups 13/24613/12
authorNicole Cordes <typo3@cordes.co>
Fri, 11 Oct 2013 08:46:26 +0000 (10:46 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Oct 2013 21:12:45 +0000 (23:12 +0200)
commit60511e271e4d2818e01c356d25a564d186ce5275
tree15fc6677b136edc92006cb62aa5467bd28c9125d
parentead24eb76880c4772a5d48d92fd310bec2e94a8d
[FEATURE] Split file permission for be_users and be_groups

Since TYPO3 6.0 you can set specific file and folder permissions by
userTSconfig. This patch adds a new field for every table to be able to
set detailed access in the backend record. Any userTSconfig will take
privilege over user and group data. An update step converts the
old binary values to string list.
Deprecated functions to support the binary values of the old fields
are removed completly. Unit tests were adapted.

Resolves: #52716
Resolves: #50574
Releases: 6.2
Change-Id: I064887c60e215e9c394d484a4afd3faef51ee324
Reviewed-on: https://review.typo3.org/24613
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
18 files changed:
typo3/sysext/backend/Classes/Controller/File/FileController.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/core/Configuration/TCA/be_groups.php
typo3/sysext/core/Configuration/TCA/be_users.php
typo3/sysext/core/Tests/Functional/Fixtures/be_users.xml
typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php
typo3/sysext/core/ext_tables.sql
typo3/sysext/extbase/ext_typoscript_setup.txt
typo3/sysext/filelist/Classes/Controller/FileListController.php
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/impexp/Classes/ImportExport.php
typo3/sysext/install/Classes/Updates/FilePermissionUpdate.php [new file with mode: 0644]
typo3/sysext/install/ext_localconf.php
typo3/sysext/lang/locallang_csh_be_groups.xlf
typo3/sysext/lang/locallang_csh_be_users.xlf
typo3/sysext/lang/locallang_tca.xlf
typo3/sysext/lowlevel/Classes/RteImagesCommand.php