Bug #14791
closedCannot give access to all modules to a backend user when there are many backend modules loaded
0%
Description
When there are 16 or so (or more) modules in the backend that you would like to give a user access to, through the "User Admin" module, there is always one module you cannot select.
In other words, if you try to select all modules and allow them to the user, when you save the last one (or one other of them) will be reverted back to unassigned, and there is no way to assign them all.
With less modules, it is possible to select all of them.
You'll find a screenshot of the modules I have tested with. With this set of modules, you cannot select all of them to assign to the user, there is always one of them which will be left out when you press the "save" button.
(issue imported from #M1161)
Files
Updated by Axel Brand about 19 years ago
Hi!
In file typo3/t3lib/stddb/tbl_be.php at line 550 you will find an entry for the user module access. There is a limit to 15 modules. Set it to e.g. 50, then there will be no problem to select all modules.
Updated by Stephane Schitter about 19 years ago
Thanks Axel !
To the devs: Could this change be made to the core for the next Typo3 release ?
Updated by Jan Wulff about 19 years ago
There's no need to change tbl_be.php, it's a TCA value. Just create a new extension or use one of your custom extensions and put this in the ext_tables.php file:
t3lib_div::loadTCA('be_groups');
$TCA['be_groups']['columns']['groupMods']['config']['maxitems'] = '50';
Updated by Sebastian Kurfuerst about 19 years ago
maybe this should be changed anyways. limiting this is senseless. greets, sebastian
Updated by Jan Wulff about 19 years ago
Sure, just wanted to show, that's it not necessary to edit the file by yourself.
Best Regards, Jan
Updated by Sebastian Kurfuerst about 19 years ago
Michael Stucki has a fix for this and will upload it soon.
Greets, Sebastian
Updated by Michael Stucki almost 19 years ago
Fixed in CVS. Thanks to Valentin Schmid.