Project

General

Profile

Actions

Bug #24465

closed

class.t3lib_loadmodules.php does not take into account the module access of extension based on extbase

Added by bingquan no-lastname-given over 13 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

class.t3lib_loadmodules.php does not take into account the module access of extension based on extbase

function checkMod($name, $fullpath)    {
if ($name == 'user_ws' && !t3lib_extMgm::isLoaded('version')) {
return FALSE;
}
// Check for own way of configuring module
if (is_array($GLOBALS['TBE_MODULES']['_configuration'][$name]['configureModuleFunction'])) {
$obj = $GLOBALS['TBE_MODULES']['_configuration'][$name]['configureModuleFunction'];
if (is_callable($obj)) {
//2010-12-09 ham.bao fix the access control of extbase extension
$config = $GLOBALS['TBE_MODULES']['_configuration'][$name]['config'];
// Fill $MCONF
$MCONF['name'] = $key;
$MCONF['access'] = $config['access'];
$MCONF['script'] = '_DISPATCH';
if($this->checkModAccess($name, $MCONF)){
return call_user_func($obj, $name, $fullpath);
}else{
return false;
}
//2010-12-09 ham.bao fix the access control of extbase extension
//return call_user_func($obj, $name, $fullpath);
}
}
(issue imported from #M16905)

Files

class.t3lib_loadmodules.php (21.8 KB) class.t3lib_loadmodules.php Administrator Admin, 2011-01-04 03:46
Actions #1

Updated by Alexander Opitz over 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.1.7)?

Actions #2

Updated by Alexander Opitz almost 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF