Task #59556
closed
Ensure that cli user is admin on extension install and uninstall
Added by Marc Bastian Heinrichs over 10 years ago.
Updated about 6 years ago.
Category:
Extension Manager
Description
Extension install and uninstall is an admin task. Calling this task via cli should ensure, that the user has admin rights.
Distribution packages could be installed via cli without errors now.
- Status changed from New to Under Review
Steps to reproduce
----------------------
Prepare environment:
- Install a fresh, blank CMS
- Create user _cli_lowlevel as BE user
- Copy / paste from somewhere EXT:bootstrap_package, EXT:introduction and EXT:realurl in
typo3conf/ext
Run the following commands. Reminder: the install command does not resolve dependencies.
- typo3/cli_dispatch.phpsh extbase extension:install realurl
- typo3/cli_dispatch.phpsh extbase extension:install bootstrap_package
- typo3/cli_dispatch.phpsh extbase extension:install introduction
Without the patch -> data will not be imported, i.e. Introduction distribution remains empty
With patch applied -> data are imported as expected and site is :)
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF