Skip to content
  • Oliver Bartsch's avatar
    [TASK] Clean up Permission controllers · 6d956e81
    Oliver Bartsch authored and Benni Mack's avatar Benni Mack committed
    The PermissionController was previously handled
    via extbase, even though no pure Extbase-related
    feature (validation, type-converting, persistence)
    was used. Furthermore a combination of non-extbase
    arguments and extbase-prefixed arguments was used,
    leading to a couple of GeneralUtility::_GP() usages.
    
    To clean up the controller, it is now not longer
    registered as extbase module, while keeping
    the module name "system_BeuserTxPermission"
    for backwards-compatibility reasons.
    
    Furthermore, is the PermissionAjaxController,
    used for inline updates in the tree view,
    moved into the PermissionController. This
    allowed to streamline and clean up its only
    endpoint.
    
    Besides the clean up, some things got improved,
    e.g. the shortcut button does now also take the
    current action into account and all used labels
    can now be translated.
    
    Resolves: #94564
    Releases: master
    Change-Id: Ic03e341df5b69aa154be1a5b737df2eecc433e55
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69893
    
    
    Tested-by: default avatarcore-ci <typo3@b13.com>
    Tested-by: default avatarJochen <rothjochen@gmail.com>
    Tested-by: default avatarBenni Mack <benni@typo3.org>
    Reviewed-by: default avatarJochen <rothjochen@gmail.com>
    Reviewed-by: default avatarBenni Mack <benni@typo3.org>
    6d956e81