[BUGFIX] Limit shown user groups in the permission module 57/53157/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 7 Jun 2017 14:03:51 +0000 (16:03 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 9 Jun 2017 13:57:30 +0000 (15:57 +0200)
The usergroup selection in the overview view of the permission
module must respect the field 'hide_in_lists' as done in the
detail view of a page selected in the permission module.

Resolves: #81504
Releases: master, 8.7
Change-Id: I23c821af7abd5bdce16d780814d928e956333bb0
Reviewed-on: https://review.typo3.org/53157
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christer V <cvi@systime.dk>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/beuser/Classes/Controller/PermissionAjaxController.php

index 6ab2075..b1b5667 100644 (file)
@@ -221,7 +221,7 @@ class PermissionAjaxController
         $groupUid = (int)$groupUid;
 
         // Get usernames
-        $beGroupsO = $beGroups = BackendUtility::getGroupNames();
+        $beGroupsO = $beGroups = BackendUtility::getListGroupNames();
         // Group selector:
         $options = '';
         // flag: is set if the page-groupid equals one from the group-list