Bug #92095
closedModule not visible in BE-Usergroups
0%
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.
Updated by Chris topher about 4 years ago
- Project changed from 9 to TYPO3 Core
- Category deleted (
Development) - TYPO3 Version set to 10
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.