[BUGFIX] Limit shown user groups in the permission module 75/53175/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 14:10:01 +0000 (16:10 +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/53175
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/beuser/Classes/Controller/PermissionAjaxController.php

index 696513e..5025e07 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