Project

General

Profile

Actions

Task #59556

closed

Ensure that cli user is admin on extension install and uninstall

Added by Marc Bastian Heinrichs almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
Start date:
2014-06-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions #1

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30715

Actions #2

Updated by Gerrit Code Review almost 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30715

Actions #3

Updated by Fabien Udriot almost 10 years ago

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 :)

Actions #4

Updated by Gerrit Code Review almost 10 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30715

Actions #5

Updated by Gerrit Code Review almost 10 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30885

Actions #6

Updated by Marc Bastian Heinrichs almost 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF