Project

General

Profile

Actions

Bug #92095

closed

Module not visible in BE-Usergroups

Added by Jörg Bruder about 4 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-08-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If "admin" is set as access option in a module, this module is not visible in usergroups select list [groupMods].

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
...
'access' => 'user,group,admin',
...
);

Expected behavior:

If access is set as above, the group should be seen in BE-usergroups.
So /typo3_src/typo3/sysext/backend/Classes/Module/ModuleLoader.php function checkModAccess() should check if something else than 'admin' is entered in the access field and return only if admin is the only entry.

Actions

Also available in: Atom PDF