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 #1

Updated by Chris topher about 4 years ago

  • Project changed from 9 to TYPO3 Core
  • Category deleted (Development)
  • TYPO3 Version set to 10
Actions #2

Updated by Benni Mack 5 months ago

  • Status changed from New to Closed
  • Priority changed from Should have to Won't have this time

Hey,

tbh, I don't understand this. This seems a misconfiguration in the extension when registering a module. Also in v12 with the new Module API you see it is an "or" option: https://docs.typo3.org/m/typo3/reference-coreapi/12.4/en-us/ApiOverview/Backend/BackendModules/ModuleConfiguration/Index.html#confval-backend-module-access to avoid any more confusion.

I'm closing this issue - if you feel this is the wrong the decision, let me know, and I will re-open the ticket.

Actions

Also available in: Atom PDF