[!!!][TASK] Remove lockToDomain feature for BE and FE
Both fe_users/be_users and be_groups/fe_groups have a feature called "lockToDomain". Although it is called the same, it has a different use-case: * Users: If lockToDomain is set, the user is only allowed to login when a given HTTP_HOST is given. * Groups: If lockToDomain is set, the group is only added to the logged in user, if the HTTP_HOST matches this domain. Both features are rarely used, and even in multi-tenant setups not viable or flexible enough. In addition, the features are not any additional security measures as HTTP_HOST can be faked. They both add unneeded complexity for the rare use of a similar feature, a custom extension should be used. Plus: All of these features can be added via extensions, depending on a specific use case of an installation, so _if_ people use it, custom extensions should be used instead for the specific use case they have. The database fields, TCA definitions, labels, domain model logic in Extbase and actual validation within the AuthenticationService and BE_USER are removed without any substitution. Resolves: #91782 Releases: master Change-Id: I4a12185b79efaf1e3bded5120675e3c1095dcd42 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65011 Tested-by:Daniel Goerz <daniel.goerz@posteo.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/core/Classes/Authentication/AuthenticationService.php 3 additions, 46 deletions...ext/core/Classes/Authentication/AuthenticationService.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 1 addition, 9 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Configuration/TCA/be_groups.php 2 additions, 12 deletionstypo3/sysext/core/Configuration/TCA/be_groups.php
- typo3/sysext/core/Configuration/TCA/be_users.php 2 additions, 12 deletionstypo3/sysext/core/Configuration/TCA/be_users.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-91782-LockToDomain.rst 55 additions, 0 deletions...entation/Changelog/master/Breaking-91782-LockToDomain.rst
- typo3/sysext/core/Resources/Private/Language/locallang_csh_be_groups.xlf 0 additions, 13 deletions...re/Resources/Private/Language/locallang_csh_be_groups.xlf
- typo3/sysext/core/Resources/Private/Language/locallang_csh_be_users.xlf 0 additions, 12 deletions...ore/Resources/Private/Language/locallang_csh_be_users.xlf
- typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf 0 additions, 3 deletions.../sysext/core/Resources/Private/Language/locallang_tca.xlf
- typo3/sysext/core/Tests/Functional/Authentication/Fixtures/be_groups.xml 0 additions, 1 deletion...re/Tests/Functional/Authentication/Fixtures/be_groups.xml
- typo3/sysext/core/Tests/Functional/Tca/BackendGroupsVisibleFieldsTest.php 0 additions, 1 deletion...e/Tests/Functional/Tca/BackendGroupsVisibleFieldsTest.php
- typo3/sysext/core/Tests/Functional/Tca/BackendUsersVisibleFieldsTest.php 0 additions, 2 deletions...re/Tests/Functional/Tca/BackendUsersVisibleFieldsTest.php
- typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php 0 additions, 38 deletions...e/Tests/Unit/Authentication/AuthenticationServiceTest.php
- typo3/sysext/core/ext_tables.sql 0 additions, 2 deletionstypo3/sysext/core/ext_tables.sql
- typo3/sysext/extbase/Classes/Domain/Model/BackendUserGroup.php 0 additions, 25 deletions.../sysext/extbase/Classes/Domain/Model/BackendUserGroup.php
- typo3/sysext/extbase/Classes/Domain/Model/FrontendUser.php 0 additions, 25 deletionstypo3/sysext/extbase/Classes/Domain/Model/FrontendUser.php
- typo3/sysext/extbase/Classes/Domain/Model/FrontendUserGroup.php 0 additions, 25 deletions...sysext/extbase/Classes/Domain/Model/FrontendUserGroup.php
- typo3/sysext/extbase/Configuration/Extbase/Persistence/Classes.php 0 additions, 13 deletions...ext/extbase/Configuration/Extbase/Persistence/Classes.php
- typo3/sysext/extbase/Tests/Unit/Domain/Model/BackendUserGroupTest.php 0 additions, 18 deletions.../extbase/Tests/Unit/Domain/Model/BackendUserGroupTest.php
- typo3/sysext/extbase/Tests/Unit/Domain/Model/FrontendUserGroupTest.php 0 additions, 18 deletions...extbase/Tests/Unit/Domain/Model/FrontendUserGroupTest.php
- typo3/sysext/extbase/Tests/Unit/Domain/Model/FrontendUserTest.php 0 additions, 18 deletions...sext/extbase/Tests/Unit/Domain/Model/FrontendUserTest.php
Please register or sign in to comment